|
|
@ -2,7 +2,7 @@
|
|
|
|
%define ansible_version $VERSION
|
|
|
|
%define ansible_version $VERSION
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?rhel} == 5
|
|
|
|
%if 0%{?rhel} == 5
|
|
|
|
%define __python /usr/bin/python26
|
|
|
|
%define __python2 /usr/bin/python26
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
Name: %{name}
|
|
|
|
Name: %{name}
|
|
|
@ -14,6 +14,7 @@ License: GPLv3+
|
|
|
|
Group: Development/Libraries
|
|
|
|
Group: Development/Libraries
|
|
|
|
Source: http://releases.ansible.com/ansible/%{name}-%{version}.tar.gz
|
|
|
|
Source: http://releases.ansible.com/ansible/%{name}-%{version}.tar.gz
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
|
|
|
|
|
|
|
%{!?__python2: %global __python2 /usr/bin/python2.6}
|
|
|
|
%{!?python_sitelib: %global python_sitelib %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
|
|
|
|
%{!?python_sitelib: %global python_sitelib %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
|
|
|
|
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|