From df5901862537db60c2423bc506806564eb338a91 Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Mon, 16 Jun 2014 08:39:26 -0600 Subject: [PATCH] No Python 3 for EL7 --- python-pytest-cov.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-pytest-cov.spec b/python-pytest-cov.spec index 16ecd50..5ba545d 100644 --- a/python-pytest-cov.spec +++ b/python-pytest-cov.spec @@ -1,4 +1,4 @@ -%if 0%{?rhel} && 0%{?rhel} <= 6 +%if 0%{?rhel} && 0%{?rhel} <= 7 %{!?__python2: %global __python2 /usr/bin/python2} %{!?python2_sitelib: %global python2_sitelib %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} %{!?python2_sitearch: %global python2_sitearch %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}