public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/python-zope-schema] epel10: Use generated filelist
Date: Thu, 19 Nov 2026 00:37:24 GMT	[thread overview]
Message-ID: <179504864430.1.13176247452589414278.rpms-python-zope-schema-ed83432f0e76@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/python-zope-schema
            Branch : epel10
            Commit : ed83432f0e763e9a22786231254ad801863b9a02
            Author : Miro Hrončok <miro@hroncok.cz>
            Date   : 2025-03-14T14:21:43+01:00
            Stats  : +3/-4 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-zope-schema/c/ed83432f0e763e9a22786231254ad801863b9a02?branch=epel10

            Log:
            Use generated filelist

The .dist-info folder was renamed to use the canonical project name in setuptools 75.

The macros can handle the difference.

Using %pyproject_save_files with -l because the Python metadata contain a %license file.

---
diff --git a/python-zope-schema.spec b/python-zope-schema.spec
index d0d7e32..d9392b4 100644
--- a/python-zope-schema.spec
+++ b/python-zope-schema.spec
@@ -43,17 +43,16 @@ rm -fr html/{.buildinfo,.doctrees}
 
 %install
 %pyproject_install
+%pyproject_save_files -l zope
 
 %check
 PYTHONPATH=%{buildroot}%{python3_sitelib} zope-testrunner --test-path=src
 
-%files -n python3-zope-schema
+%files -n python3-zope-schema -f %{pyproject_files}
 %doc CHANGES.rst COPYRIGHT.txt README.rst
 %doc html/
-%license LICENSE.txt
-%{python3_sitelib}/zope/schema/
+%exclude %dir %{python3_sitelib}/zope
 %exclude %{python3_sitelib}/zope/schema/tests/
-%{python3_sitelib}/%{modname}-*.dist-info
 %{python3_sitelib}/%{modname}-*-nspkg.pth
 
 

                 reply	other threads:[~2026-11-19  0:37 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=179504864430.1.13176247452589414278.rpms-python-zope-schema-ed83432f0e76@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