public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-pypdf] f45: Remove duplicate LICENSE file
@ 2026-08-21  8:05 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-08-21  8:05 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/python-pypdf
            Branch : f45
            Commit : ada8e9c12df32215d81a3a114cf38fdb78b930f8
            Author : Tadej Janež <tadej.j@nez.si>
            Date   : 2026-08-20T18:20:00+02:00
            Stats  : +1/-3 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-pypdf/c/ada8e9c12df32215d81a3a114cf38fdb78b930f8?branch=f45

            Log:
            Remove duplicate LICENSE file

It is already included automatically in dist-info/licenses, which is
now asserted during the build. No need to manually list it in %files.

---
diff --git a/python-pypdf.spec b/python-pypdf.spec
index 2e57ff4..2d30ac2 100644
--- a/python-pypdf.spec
+++ b/python-pypdf.spec
@@ -99,7 +99,7 @@ rm -rf html/{.buildinfo,.doctrees}
 
 %install
 %pyproject_install
-%pyproject_save_files %{srcname}
+%pyproject_save_files --assert-license %{srcname}
 
 %check
 %pyproject_check_import
@@ -114,8 +114,6 @@ rm -rf html/{.buildinfo,.doctrees}
 %endif
 
 %files -n python3-%{srcname} -f %{pyproject_files}
-# https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org/thread/4Y2VRLVAR3DJXBSFVDYJMU3G4ZNPGEU6/
-%license LICENSE
 %doc README.md CHANGELOG.md CONTRIBUTORS.md
 
 %if %{with docs}

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-21  8:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-21  8:05 [rpms/python-pypdf] f45: Remove duplicate LICENSE file 

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox