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