From f730b5e820330f410595599d3953e741eb49f832 Mon Sep 17 00:00:00 2001 From: Sol Jerome Date: Fri, 27 Aug 2010 13:28:27 +0000 Subject: bcfg2.spec.in: Fix lxml requirement for bcfg2 client (Reported by tac on IRC) Signed-off-by: Sol Jerome git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6039 ce84e21b-d406-0410-9b95-82705330c041 --- redhat/bcfg2.spec.in | 5 +++++ 1 file changed, 5 insertions(+) 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 -- cgit v1.2.3-1-g7c22