public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rdiff-backup] epel10.2: Migrate spec file to pyproject macros - BZ2378431
@ 2026-08-17 8:22 Frank Crawford
0 siblings, 0 replies; only message in thread
From: Frank Crawford @ 2026-08-17 8:22 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rdiff-backup
Branch : epel10.2
Commit : 26566addbc7f886956ae248c2d2277e3ce15ad95
Author : Frank Crawford <frank@crawford.emu.id.au>
Date : 2026-08-17T17:36:16+10:00
Stats : +54/-4 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/rdiff-backup/c/26566addbc7f886956ae248c2d2277e3ce15ad95?branch=epel10.2
Log:
Migrate spec file to pyproject macros - BZ2378431
---
diff --git a/rdiff-backup.spec b/rdiff-backup.spec
index 76a63e7..cbbd9ad 100644
--- a/rdiff-backup.spec
+++ b/rdiff-backup.spec
@@ -3,15 +3,17 @@
Version: %{gittag}
Summary: Convenient and transparent local/remote incremental mirror/backup
Name: rdiff-backup
-Release: 7%{?dist}
+Release: 17%{?dist}
URL: https://rdiff-backup.net/
Source0: https://github.com/%{name}/%{name}/releases/download/v%{gittag}/%{name}-%{version}.tar.gz
License: GPL-2.0-or-later
BuildRequires: python3-devel >= 3.6, librsync-devel >= 1.0.0
+%if 0%{?rhel} && 0%{?rhel} <= 8
BuildRequires: python3-setuptools
BuildRequires: python3-setuptools_scm
+%endif
BuildRequires: gcc
#recommended runtime dependencies
@@ -34,24 +36,42 @@ differences from the previous backup will be transmitted.
%prep
%autosetup -n %{name}-%{version}
+%if ! 0%{?rhel} || 0%{?rhel} >= 9
+%generate_buildrequires
+%pyproject_buildrequires
+%endif
+
%build
+%if 0%{?rhel} && 0%{?rhel} <= 8
%py3_build
+%else
+%pyproject_wheel
+%endif
%install
+%if 0%{?rhel} && 0%{?rhel} <= 8
%py3_install
+%else
+%pyproject_install
+%pyproject_save_files rdiff_backup rdiffbackup
+%endif
# Remove doc files so we package them with rpmbuild
rm -rf $RPM_BUILD_ROOT/usr/share/doc/*
+%if 0%{?rhel} && 0%{?rhel} <= 8
%files
+%{python3_sitearch}/rdiff_backup/
+%{python3_sitearch}/rdiff_backup-*.egg-info
+%{python3_sitearch}/rdiffbackup/
+%else
+%files -f %{pyproject_files}
+%endif
%defattr(-,root,root)
%{_bindir}/rdiff-backup
%{_bindir}/rdiff-backup-statistics
%{_bindir}/rdiff-backup-delete
%{_mandir}/man1/rdiff-backup*
-%{python3_sitearch}/rdiff_backup/
-%{python3_sitearch}/rdiff_backup-*.egg-info
-%{python3_sitearch}/rdiffbackup/
%{_datadir}/bash-completion/completions/rdiff-backup
%doc CHANGELOG.adoc README.adoc
%doc docs/credits.adoc docs/DEVELOP.adoc docs/examples.adoc
@@ -59,6 +79,36 @@ rm -rf $RPM_BUILD_ROOT/usr/share/doc/*
%license COPYING
%changelog
+* Mon Aug 17 2026 Python Maint <frank@crawford.emu.id.au> - 2.2.6-17
+- Migrate spec file to pyproject macros - BZ2378431
+
+* Wed Jul 22 2026 Python Maint <python-maint@redhat.com> - 2.2.6-16
+- Rebuilt for Python 3.15.0b4 ABI change
+
+* Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.6-15
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
+
+* Wed Jun 03 2026 Python Maint <python-maint@redhat.com> - 2.2.6-14
+- Rebuilt for Python 3.15
+
+* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.6-13
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
+
+* Fri Sep 19 2025 Python Maint <python-maint@redhat.com> - 2.2.6-12
+- Rebuilt for Python 3.14.0rc3 bytecode
+
+* Fri Aug 15 2025 Python Maint <python-maint@redhat.com> - 2.2.6-11
+- Rebuilt for Python 3.14.0rc2 bytecode
+
+* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.6-10
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
+
+* Mon Jun 02 2025 Python Maint <python-maint@redhat.com> - 2.2.6-9
+- Rebuilt for Python 3.14
+
+* Sat Jan 18 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.6-8
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
+
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.6-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-17 8:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-17 8:22 [rpms/rdiff-backup] epel10.2: Migrate spec file to pyproject macros - BZ2378431 Frank Crawford
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox