From 35aaa09c176637e248b77cc3602df79cade076f8 Mon Sep 17 00:00:00 2001 From: Lars Vogdt Date: Thu, 18 Apr 2013 08:11:26 +0000 Subject: [PATCH] fix RHEL 6 OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=3 --- ansible.spec | 7 +++++++ 1 file changed, 7 insertions(+) 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 #