summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSol Jerome <solj@ices.utexas.edu>2010-08-27 13:28:27 +0000
committerSol Jerome <sol.jerome@gmail.com>2010-08-27 08:28:39 -0500
commitf730b5e820330f410595599d3953e741eb49f832 (patch)
tree6e179fa9f173328b1a4890823c4fd60466459e8d
parentdecb4dd187c808e2f1c0ff7040e914abc7adeae2 (diff)
downloadbcfg2-f730b5e820330f410595599d3953e741eb49f832.tar.gz
bcfg2-f730b5e820330f410595599d3953e741eb49f832.tar.bz2
bcfg2-f730b5e820330f410595599d3953e741eb49f832.zip
bcfg2.spec.in: Fix lxml requirement for bcfg2 client (Reported by tac on IRC)
Signed-off-by: Sol Jerome <sol.jerome@gmail.com> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6039 ce84e21b-d406-0410-9b95-82705330c041
-rw-r--r--redhat/bcfg2.spec.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/redhat/bcfg2.spec.in b/redhat/bcfg2.spec.in
index 955e43e6b..40f2d6df2 100644
--- a/redhat/bcfg2.spec.in
+++ b/redhat/bcfg2.spec.in
@@ -32,7 +32,11 @@ BuildRequires: python-setuptools-devel
BuildRequires: python-setuptools
%endif
+%if "%{py_ver}" == "2.4"
+Requires: python-elementtree
+%else if "%{py_ver}" < "2.5"
Requires: %{lxmldep} >= 0.9
+%endif
Requires: initscripts
Requires(post): /sbin/chkconfig
Requires(preun): /sbin/chkconfig
@@ -73,6 +77,7 @@ Requires: bcfg2 = %{version}-%{release}
%if "%{py_ver}" < "2.6"
Requires: python-ssl
%endif
+Requires: %{lxmldep} >= 0.9
Requires: /usr/bin/openssl
Requires: gamin-python
Requires(post): /sbin/chkconfig