public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Frank Crawford <frank@crawford.emu.id.au>
To: git-commits@fedoraproject.org
Subject: [rpms/rdiff-backup] epel10: Migrate spec file to pyproject macros - BZ2378431
Date: Mon, 17 Aug 2026 08:13:33 GMT	[thread overview]
Message-ID: <178695441383.1.7828678000563534487.rpms-rdiff-backup-26566addbc7f@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/rdiff-backup
Branch : epel10
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

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
 

                 reply	other threads:[~2026-08-17  8:13 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=178695441383.1.7828678000563534487.rpms-rdiff-backup-26566addbc7f@fedoraproject.org \
    --to=frank@crawford.emu.id.au \
    --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