rpms/freeipmi/devel freeipmi.spec,1.29,1.30

Jan Šafránek jsafrane at fedoraproject.org
Thu Jan 14 11:58:29 UTC 2010


Author: jsafrane

Update of /cvs/pkgs/rpms/freeipmi/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv13860

Modified Files:
	freeipmi.spec 
Log Message:
Fixed rpm scritps to handle renamed freeipmi services


Index: freeipmi.spec
===================================================================
RCS file: /cvs/pkgs/rpms/freeipmi/devel/freeipmi.spec,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -p -r1.29 -r1.30
--- freeipmi.spec	12 Jan 2010 16:11:16 -0000	1.29
+++ freeipmi.spec	14 Jan 2010 11:58:29 -0000	1.30
@@ -2,7 +2,7 @@
 # Copyright (c) 2003 FreeIPMI Core Team
 #
 
-Release: 1%{?dist}
+Release: 2%{?dist}
 
 Name: freeipmi
 Version: 0.8.2
@@ -103,31 +103,31 @@ fi
 %postun -p /sbin/ldconfig
 
 %post bmc-watchdog
-/sbin/chkconfig --add freeipmi-bmc-watchdog
+/sbin/chkconfig --add bmc-watchdog
 
 %preun bmc-watchdog
 if [ "$1" = 0 ]; then
-    /sbin/service freeipmi-bmc-watchdog stop >/dev/null 2>&1
-    /sbin/chkconfig --del freeipmi-bmc-watchdog
+    /sbin/service bmc-watchdog stop >/dev/null 2>&1
+    /sbin/chkconfig --del bmc-watchdog
 fi
 
 %postun bmc-watchdog
 if [ "$1" -ge "1" ] ; then
-    /sbin/service freeipmi-bmc-watchdog condrestart >/dev/null 2>&1 || :
+    /sbin/service bmc-watchdog condrestart >/dev/null 2>&1 || :
 fi
 
 %post ipmidetectd
-/sbin/chkconfig --add freeipmi-ipmidetectd
+/sbin/chkconfig --add ipmidetectd
 
 %preun ipmidetectd
 if [ "$1" = 0 ]; then
-    /sbin/service freeipmi-ipmidetectd stop >/dev/null 2>&1
-    /sbin/chkconfig --del freeipmi-ipmidetectd
+    /sbin/service ipmidetectd stop >/dev/null 2>&1
+    /sbin/chkconfig --del ipmidetectd
 fi
 
 %postun ipmidetectd
 if [ "$1" -ge "1" ] ; then
-    /sbin/service/freeipmi-ipmidetectd condrestart >/dev/null 2>&1 || :
+    /sbin/service ipmidetectd condrestart >/dev/null 2>&1 || :
 fi
 
 %files
@@ -306,6 +306,9 @@ fi
 %{_mandir}/man8/ipmidetectd.8*
 
 %changelog
+* Thu Jan 14 2010 Jan Safranek <jsafrane at redhat.com> - 0.8.2-2
+- Fixed rpm scripts to handle new names of freeipmi services
+
 * Thu Jan  7 2010 Jan Safranek <jsafrane at redhat.com> - 0.8.2-1
 - Update to freeipmi-0.8.2
 



More information about the scm-commits mailing list