public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/dist-git] rawhide: Fix EPEL 11 build
@ 2026-09-22  7:43 Yaakov Selkowitz
  0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-09-22  7:43 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/dist-git
            Branch : rawhide
            Commit : 716c2b55e2212032cdf9991aa497c9d4cd8d4a5c
            Author : Yaakov Selkowitz <yselkowi@redhat.com>
            Date   : 2026-09-04T12:02:59-04:00
            Stats  : +1/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/dist-git/c/716c2b55e2212032cdf9991aa497c9d4cd8d4a5c?branch=rawhide

            Log:
            Fix EPEL 11 build

RHEL 11 will have Python 3.15 and therefore also needs legacy-cgi.

---
diff --git a/dist-git.spec b/dist-git.spec
index b9bec9d..2fbaa79 100644
--- a/dist-git.spec
+++ b/dist-git.spec
@@ -42,7 +42,7 @@ BuildRequires:  python3-requests
 # this should be Requires but see https://bugzilla.redhat.com/show_bug.cgi?id=1833810
 Recommends: moreutils
 
-%if 0%{?fedora} && 0%{?fedora} >= 41
+%if 0%{?fedora} >= 41 || 0%{?rhel} >= 11
 # The `cgi` module was removed from the Python 3.13 standard library
 BuildRequires:  python3-legacy-cgi
 Requires:       python3-legacy-cgi

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

only message in thread, other threads:[~2026-09-22  7:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-22  7:43 [rpms/dist-git] rawhide: Fix EPEL 11 build Yaakov Selkowitz

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