From 2f308bdbdb4db667810114bc9160449306b964ad Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Tue, 16 Feb 2010 22:21:53 +0000 Subject: [PATCH] sfa_cm now sfa-cm. Fix python-uuid requires --- sfa.spec | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sfa.spec b/sfa.spec index 3e851f86..4c7a17f8 100644 --- a/sfa.spec +++ b/sfa.spec @@ -40,8 +40,8 @@ Requires: python-lxml # it'll be installed by "devel.pkgs". we have the epel repository so # python-uuid will be provided. but we can test for the python # version. -%define has_py24 %(`python -c "import sys;sys.exit(sys.version_info[0:2] == (2,4))" 2> /dev/null; echo $?`) -%if has_py24 +%define has_py24 %( python -c "import sys;sys.exit(sys.version_info[0:2] == (2,4))" 2> /dev/null; echo $? ) +%if %has_py24 Requires: python-uuid %endif @@ -111,7 +111,7 @@ rm -rf $RPM_BUILD_ROOT /var/www/html/wsdl/*.wsdl %files cm -/etc/init.d/sfa_cm +/etc/init.d/sfa-cm %{_bindir}/sfa_component_setup.py* # cron jobs here @@ -143,13 +143,13 @@ rm -rf $RPM_BUILD_ROOT [ -f %{_sysconfdir}/init.d/sfa ] && service sfa stop ||: %pre cm -[ -f %{_sysconfdir}/init.d/sfacm ] && service sfacm stop ||: +[ -f %{_sysconfdir}/init.d/sfa-cm ] && service sfa-cm stop ||: %post plc chkconfig --add sfa %post cm -chkconfig --add sfacm +chkconfig --add sfa-cm %changelog * Thu Jan 21 2010 anil vengalil - sfa-0.9-10 - This tag is quite same as the previous one (sfa-0.9-9) except that the vini and max aggregate managers are also updated for urn support. Other features are: -- 2.43.0