public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/duplicity] epel10.3: Use pyproject-rpm-macros to build and install
@ 2026-10-09 15:57 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-10-09 15:57 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-09 15:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-09 15:57 [rpms/duplicity] epel10.3: Use pyproject-rpm-macros to build and install Benjamin A. Beasley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox