summaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authorToshio Kuratomi <toshio@fedoraproject.org>2014-04-02 22:37:16 +0200
committerToshio Kuratomi <toshio@fedoraproject.org>2014-04-02 22:37:16 +0200
commitff7492c2cc008110b890f320b10747bbae4f9b6a (patch)
tree15bdd387d29e6f401e6128286d7d779d72c72b77 /packaging
parentPrnt error message is unable to use setuptools when building (diff)
downloadansible-ff7492c2cc008110b890f320b10747bbae4f9b6a.tar.xz
ansible-ff7492c2cc008110b890f320b10747bbae4f9b6a.zip
Add Requires to the specfile for setuptools and the python-crypto2.6
forward compat package
Diffstat (limited to 'packaging')
-rw-r--r--packaging/rpm/ansible.spec9
1 files changed, 9 insertions, 0 deletions
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