public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Colin B. Macdonald <cbm@m.fsf.org>
To: git-commits@fedoraproject.org
Subject: [rpms/python-django-tables2] rawhide: using pyproject_save_files macro
Date: Tue, 18 Aug 2026 07:17:32 GMT	[thread overview]
Message-ID: <178703745297.1.5518796669964171462.rpms-python-django-tables2-031cb7f5b208@fedoraproject.org> (raw)

            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

                 reply	other threads:[~2026-08-18  7:17 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=178703745297.1.5518796669964171462.rpms-python-django-tables2-031cb7f5b208@fedoraproject.org \
    --to=cbm@m.fsf.org \
    --cc=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