summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSol Jerome <solj@ices.utexas.edu>2009-12-02 21:32:11 +0000
committerSol Jerome <solj@ices.utexas.edu>2009-12-02 21:32:11 +0000
commit73202db8cebfa695b63ec84cfb08e0c7b1485db0 (patch)
tree62e5ec6339bc49066249f84e877b1aa91e6f7a85
parent1c15646b4cc144eea37410c96ae1cae3e8d2e905 (diff)
downloadbcfg2-73202db8cebfa695b63ec84cfb08e0c7b1485db0.tar.gz
bcfg2-73202db8cebfa695b63ec84cfb08e0c7b1485db0.tar.bz2
bcfg2-73202db8cebfa695b63ec84cfb08e0c7b1485db0.zip
RPM: Require python-ssl for < 2.6 (ticket #800 Reported by David Strauss)
Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5610 ce84e21b-d406-0410-9b95-82705330c041
-rw-r--r--misc/bcfg2.spec3
-rw-r--r--redhat/bcfg2.spec.in3
2 files changed, 6 insertions, 0 deletions
diff --git a/misc/bcfg2.spec b/misc/bcfg2.spec
index 8c841fca2..730a1b5b7 100644
--- a/misc/bcfg2.spec
+++ b/misc/bcfg2.spec
@@ -59,6 +59,9 @@ Version: %{version}
Summary: Bcfg2 Server
Group: System Tools
Requires: bcfg2
+%if 0%{?py_ver} < 2.6
+Requires: python-ssl
+%endif
Requires: %{lxmldep} >= 1.2.1
%if "%{_vendor}" == "redhat"
Requires: gamin-python
diff --git a/redhat/bcfg2.spec.in b/redhat/bcfg2.spec.in
index 31351b174..5610c1035 100644
--- a/redhat/bcfg2.spec.in
+++ b/redhat/bcfg2.spec.in
@@ -70,6 +70,9 @@ deployment strategies.
Summary: Configuration management server
Group: System Environment/Daemons
Requires: bcfg2 = %{version}-%{release}
+%if 0%{?py_ver} < 2.6
+Requires: python-ssl
+%endif
Requires: /usr/bin/openssl
Requires: gamin-python
Requires: python-genshi