public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/python-pypdf] f45: Remove duplicate LICENSE file
Date: Fri, 21 Aug 2026 08:05:36 GMT	[thread overview]
Message-ID: <178729953645.1.12235334984393504575.rpms-python-pypdf-ada8e9c12df3@fedoraproject.org> (raw)

            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}

                 reply	other threads:[~2026-08-21  8:05 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178729953645.1.12235334984393504575.rpms-python-pypdf-ada8e9c12df3@fedoraproject.org \
    --to=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox