public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-django-tables2] rawhide: using pyproject_save_files macro
@ 2026-08-18  7:17 Colin B. Macdonald
  0 siblings, 0 replies; only message in thread
From: Colin B. Macdonald @ 2026-08-18  7:17 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/python-django-tables2
            Branch : rawhide
            Commit : 031cb7f5b20803022b821dc142db1c058bcbbc28
            Author : Colin B. Macdonald <cbm@m.fsf.org>
            Date   : 2026-07-29T13:16:46-07:00
            Stats  : +2/-5 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-django-tables2/c/031cb7f5b20803022b821dc142db1c058bcbbc28?branch=rawhide

            Log:
            using pyproject_save_files macro

Handles license as well I gather from docs.

---
diff --git a/python-django-tables2.spec b/python-django-tables2.spec
index b6fdc70..1a33ff8 100644
--- a/python-django-tables2.spec
+++ b/python-django-tables2.spec
@@ -38,13 +38,10 @@ Obsoletes:      python2-%{srcname} < 1.2.3-5
 
 %install
 %pyproject_install
+%pyproject_save_files -l django_tables2
 
-# Colin did not get -f pyproject_files macro working here...
-%files -n python3-%{srcname}
-%license LICENSE
+%files -n python3-%{srcname} -f %{pyproject_files}
 %doc README.md CHANGELOG.md
-%{python3_sitelib}/django_tables2/
-%{python3_sitelib}/django_tables2-*.dist-info/
 
 %changelog
 %autochangelog

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

only message in thread, other threads:[~2026-08-18  7:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-18  7:17 [rpms/python-django-tables2] rawhide: using pyproject_save_files macro Colin B. Macdonald

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