public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/duplicity] epel10.3: Use pyproject-rpm-macros to build and install
Date: Fri, 09 Oct 2026 15:57:10 GMT	[thread overview]
Message-ID: <179156143039.1.9498548826380138065.rpms-duplicity-59ec488d7c84@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/duplicity
            Branch : epel10.3
            Commit : 59ec488d7c844152a735dfdabb377acb6426ca11
            Author : Benjamin A. Beasley <code@musicinmybrain.net>
            Date   : 2022-12-13T09:16:58-05:00
            Stats  : +5/-6 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/duplicity/c/59ec488d7c844152a735dfdabb377acb6426ca11?branch=epel10.3

            Log:
            Use pyproject-rpm-macros to build and install

They were already used to generate BR’s

---
diff --git a/duplicity.spec b/duplicity.spec
index 7d78ac6..fe51d44 100644
--- a/duplicity.spec
+++ b/duplicity.spec
@@ -60,10 +60,11 @@ but not hard links.
 %pyproject_buildrequires
 
 %build
-%py3_build
+%pyproject_wheel
 
 %install
-%py3_install
+%pyproject_install
+%pyproject_save_files duplicity
 
 mkdir -p %{buildroot}/%{_sysconfdir}/%{name}
 ln -sf %{_sysconfdir}/pki/tls/cert.pem \
@@ -86,8 +87,8 @@ rm -rf    %{buildroot}%{_docdir}/duplicity-%{version}/CONTRIBUTING.md
 %pytest
 %endif
 
-%files -f %{name}.lang
-%license COPYING
+%files -f %{name}.lang -f %{pyproject_files}
+# pyproject_files handles COPYING in dist-info; verify with “rpm -qL -p …”
 %doc CHANGELOG.md README.md CONTRIBUTING.md
 %{_bindir}/rdiffdir
 %{_bindir}/%{name}
@@ -95,8 +96,6 @@ rm -rf    %{buildroot}%{_docdir}/duplicity-%{version}/CONTRIBUTING.md
 %{_mandir}/man1/rdiffdir*
 %dir %{_sysconfdir}/%{name}
 %{_sysconfdir}/%{name}/cacert.pem
-%{python3_sitearch}/duplicity/
-%{python3_sitearch}/duplicity-%{version}-py%{python3_version}.egg-info
 
 %changelog
 %autochangelog

                 reply	other threads:[~2026-10-09 15:57 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=179156143039.1.9498548826380138065.rpms-duplicity-59ec488d7c84@fedoraproject.org \
    --to=code@musicinmybrain.net \
    --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