From 253315cefee53dab8364d157ffc762f2434ea74a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Tue, 22 Sep 2026 09:41:26 +0200 Subject: [PATCH] Fix EPEL 11 build Forwardported from https://src.fedoraproject.org/rpms/dist-git/pull-request/2# --- dist-git/dist-git.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist-git/dist-git.spec b/dist-git/dist-git.spec index 531c3b6..158ef58 100644 --- a/dist-git/dist-git.spec +++ b/dist-git/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