diff --git a/python-biopython.spec b/python-biopython.spec index ffb06dc..ba006fa 100644 --- a/python-biopython.spec +++ b/python-biopython.spec @@ -1,10 +1,8 @@ %if 0%{?rhel} && 0%{?rhel} > 7 %global with_python3 1 -%global with_python2 0 %endif %if 0%{?rhel} && 0%{?rhel} == 7 -%global with_python3 0 %global with_python2 1 %endif @@ -14,9 +12,8 @@ %global py2_prefix python2 %endif -%if 0%{?fedora} && 0%{?fedora} < 30 +%if 0%{?fedora} %global with_python3 1 -%global with_python2 1 %endif %if 0%{?python3_version_nodots} == 38