Skip to content

Commit

Permalink
rpm: drop python_sitelib/sitearch conditional
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
smithfarm authored and b-ranto committed May 6, 2016
1 parent a137267 commit 1cefe40
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions ceph.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -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)}
Expand Down

0 comments on commit 1cefe40

Please sign in to comment.