From 1cefe40506730bf53d9aee9c89749643ccfdd7e7 Mon Sep 17 00:00:00 2001 From: Nathan Cutler Date: Sun, 11 Oct 2015 09:43:06 +0200 Subject: [PATCH] rpm: drop python_sitelib/sitearch conditional This conditional was required to support older versions of RHEL/CentOS that are no longer supported in infernalis and above. Signed-off-by: Nathan Cutler --- ceph.spec.in | 5 ----- 1 file changed, 5 deletions(-) diff --git a/ceph.spec.in b/ceph.spec.in index 392a82e2cb126..3f6adc53d69b5 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -32,11 +32,6 @@ %bcond_without lttng %endif -%if (0%{?el5} || (0%{?rhel_version} >= 500 && 0%{?rhel_version} <= 600)) -%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} -%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} -%endif - %if %{with selinux} # get selinux policy version %{!?_selinux_policy_version: %global _selinux_policy_version %(sed -e 's,.*selinux-policy-\\([^/]*\\)/.*,\\1,' /usr/share/selinux/devel/policyhelp 2>/dev/null || echo 0.0.0)}