diff --git a/python-nose.spec b/python-nose.spec index 160a8f2..7a48239 100644 --- a/python-nose.spec +++ b/python-nose.spec @@ -1,9 +1,7 @@ -%{!?python3_version: %global python3_version %(%{__python3} -c "import sys; sys.stdout.write(sys.version[:3])")} - -%if 0%{?fedora} || 0%{?rhel} > 7 -%bcond_without python3 -%else +%if 0%{?rhel} && 0%{?rhel} <= 7 %bcond_with python3 +%else +%bcond_without python3 %endif %global upstream_name nose