]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rpm: drop python_sitelib/sitearch conditional
authorNathan Cutler <ncutler@suse.com>
Sun, 11 Oct 2015 07:43:06 +0000 (09:43 +0200)
committerBoris Ranto <branto@redhat.com>
Fri, 6 May 2016 11:44:15 +0000 (13:44 +0200)
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 <ncutler@suse.com>
ceph.spec.in

index 392a82e2cb1263344f3e0a6c8b6b1a7fed43f7ee..3f6adc53d69b5a21789e5a8a672e8d8b90bea4e7 100644 (file)
 %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)}