public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Yaakov Selkowitz <yselkowi@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/prunerepo] rawhide: Use pyproject macros on EPEL 11
Date: Wed, 26 Aug 2026 07:01:33 GMT	[thread overview]
Message-ID: <178772769364.1.11798302373606367036.rpms-prunerepo-e3f370eda1f0@fedoraproject.org> (raw)

            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

                 reply	other threads:[~2026-08-26  7:01 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=178772769364.1.11798302373606367036.rpms-prunerepo-e3f370eda1f0@fedoraproject.org \
    --to=yselkowi@redhat.com \
    --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