From ff7492c2cc008110b890f320b10747bbae4f9b6a Mon Sep 17 00:00:00 2001 From: Toshio Kuratomi Date: Wed, 2 Apr 2014 13:37:16 -0700 Subject: [PATCH] Add Requires to the specfile for setuptools and the python-crypto2.6 forward compat package --- packaging/rpm/ansible.spec | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/packaging/rpm/ansible.spec b/packaging/rpm/ansible.spec index 298450d964..76767791b5 100644 --- a/packaging/rpm/ansible.spec +++ b/packaging/rpm/ansible.spec @@ -25,6 +25,12 @@ Requires: python26-paramiko Requires: python26-jinja2 Requires: python26-keyczar Requires: python26-httplib2 +Requires: python26-setuptools +%endif + +# RHEL == 6 +%if 0%{?rhel} == 6 +Requires: python-crypto2.6 %endif # RHEL > 5 @@ -35,6 +41,7 @@ Requires: python-paramiko Requires: python-jinja2 Requires: python-keyczar Requires: python-httplib2 +Requires: python-setuptools %endif # FEDORA > 17 @@ -45,6 +52,7 @@ Requires: python-paramiko Requires: python-jinja2 Requires: python-keyczar Requires: python-httplib2 +Requires: python-setuptools %endif # SuSE/openSuSE @@ -56,6 +64,7 @@ Requires: python-jinja2 Requires: python-keyczar Requires: python-yaml Requires: python-httplib2 +Requires: python-setuptools %endif Requires: sshpass