diff --git a/python-prettytable.spec b/python-prettytable.spec index 8e3d7b6..b0e50f9 100644 --- a/python-prettytable.spec +++ b/python-prettytable.spec @@ -1,6 +1,6 @@ %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} -%if 0%{?fedora} > 12 || 0%{?rhel} > 6 +%if 0%{?fedora} > 12 || 0%{?rhel} > 7 %global with_python3 1 %endif