From 0c3f2b41d369dc1d737306ec14e6db55655df8cc Mon Sep 17 00:00:00 2001 From: Toshio Kuratomi Date: Tue, 15 Nov 2011 17:20:02 -0800 Subject: [PATCH] Fix incorrect macro conditional --- python-nose.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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