diff --git a/rpkg.spec b/rpkg.spec index ed45a3d..9a0b3a4 100644 --- a/rpkg.spec +++ b/rpkg.spec @@ -30,7 +30,7 @@ Patch0: remove-koji-and-rpm-py-installer-from-requires.patch %global with_python3 0 %endif -%if 0%{?rhel} > 7 +%if 0%{?fedora} > 29 || 0%{?rhel} > 7 # Disable python2 build by default %global with_python2 0 %else