diff --git a/ansible.changes b/ansible.changes index 2cbcf78..509fc4c 100644 --- a/ansible.changes +++ b/ansible.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Dec 1 18:28:18 UTC 2014 - boris@steki.net + +- enable build for older RHEL and SLE distributions + ------------------------------------------------------------------- Thu Nov 27 11:17:53 UTC 2014 - boris@steki.net diff --git a/ansible.spec b/ansible.spec index c320a88..a09dc43 100644 --- a/ansible.spec +++ b/ansible.spec @@ -49,7 +49,7 @@ Recommends: askpass Requires: python-crypto2.6 %endif # RHEL > 5 -%if 0%{?rhel} && 0%{?rhel} > 5 +%if 0%{?rhel} && 0%{?rhel} >= 5 BuildRequires: python-setuptools BuildRequires: python2-devel Requires: PyYAML @@ -62,7 +62,7 @@ Requires: python-setuptools BuildRoot: %{_tmppath}/%{name}-%{version}-build -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 +%if 0%{?suse_version} && 0%{?suse_version} <= 1110 || 0%{?rhel} == 5 %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %else BuildArch: noarch