diff --git a/python-nose.spec b/python-nose.spec index bf6cff7..a4f278c 100644 --- a/python-nose.spec +++ b/python-nose.spec @@ -1,4 +1,4 @@ -%if 0%{?rhel} < 13 && 0%{?rhel} < 5 +%if 0%{?rhel} && 0%{?rhel} < 5 %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %{!?python_version: %global python_version %(%{__python} -c "import sys ; print sys.version[:3]")} %endif