public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/prunerepo] rawhide: Use pyproject macros on EPEL 11
@ 2026-08-26  7:01 Yaakov Selkowitz
  0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-08-26  7:01 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/prunerepo
            Branch : rawhide
            Commit : e3f370eda1f0d69bb6daff6f6f3a83a3b0546498
            Author : Yaakov Selkowitz <yselkowi@redhat.com>
            Date   : 2026-08-14T10:59:14-04:00
            Stats  : +4/-4 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/prunerepo/c/e3f370eda1f0d69bb6daff6f6f3a83a3b0546498?branch=rawhide

            Log:
            Use pyproject macros on EPEL 11

https://github.com/fedora-copr/prunerepo/pull/26

---
diff --git a/prunerepo.spec b/prunerepo.spec
index 168bcbf..32d489b 100644
--- a/prunerepo.spec
+++ b/prunerepo.spec
@@ -68,13 +68,13 @@ rm -f pyproject.toml
 %check
 tests/run.sh
 
-%if 0%{?fedora}
+%if 0%{?fedora} || 0%{?rhel} >= 11
 %generate_buildrequires
 %pyproject_buildrequires
 %endif
 
 %build
-%if 0%{?fedora}
+%if 0%{?fedora} || 0%{?rhel} >= 11
 %pyproject_wheel
 %else
 name="%{name}" version="%{version}" summary="%{summary}" %py3_build
@@ -82,7 +82,7 @@ name="%{name}" version="%{version}" summary="%{summary}" %py3_build
 a2x -d manpage -f manpage man/prunerepo.1.asciidoc
 
 %install
-%if 0%{?fedora}
+%if 0%{?fedora} || 0%{?rhel} >= 11
 %pyproject_install
 %pyproject_save_files -l prunerepo
 %else
@@ -92,7 +92,7 @@ name="%{name}" version="%{version}" summary="%{summary}" %py3_install
 install -d %{buildroot}%{_mandir}/man1
 install -p -m 644 man/prunerepo.1 %{buildroot}/%{_mandir}/man1/
 
-%if 0%{?fedora}
+%if 0%{?fedora} || 0%{?rhel} >= 11
 %files -f %{pyproject_files}
 %else
 %files

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-26  7:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-26  7:01 [rpms/prunerepo] rawhide: Use pyproject macros on EPEL 11 Yaakov Selkowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox