diff --git a/ansible.spec b/ansible.spec index 941097c..b57df82 100644 --- a/ansible.spec +++ b/ansible.spec @@ -54,6 +54,13 @@ Requires: python26-paramiko Requires: python26-jinja2 %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} %endif +%if 0%{?rhel} > 5 || 0%{?rhel_version} > 505 +Release: 1%{?dist} +BuildRequires: python2-devel +Requires: PyYAML +Requires: python-paramiko +Requires: python-jinja2 +%endif # # Fedora #