public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-zope-schema] epel10: Use generated filelist
@ 2026-11-19 0:37
0 siblings, 0 replies; only message in thread
From: @ 2026-11-19 0:37 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-19 0:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-19 0:37 [rpms/python-zope-schema] epel10: Use generated filelist
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox