mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Proper support for RHEL/CentOS 5 (the only thing it needs now is to call python26)
This commit is contained in:
parent
d1effecb2e
commit
d4f75bc12c
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue