Merge pull request #3643 from iliv/devel

Proper packaging support for RHEL/CentOS 5
This commit is contained in:
Michael DeHaan 2013-08-06 13:23:18 -07:00
commit 531e193865

View file

@ -1,3 +1,7 @@
%if 0%{?rhel} == 5
%define __python /usr/bin/python26
%endif
%if 0%{?rhel} && 0%{?rhel} <= 5
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot