rpms/heartbeat/FC-5 heartbeat.spec,1.5,1.6
Joost Soeterbroek (jsoeterb)
fedora-extras-commits at redhat.com
Sun Oct 29 11:29:04 UTC 2006
Author: jsoeterb
Update of /cvs/extras/rpms/heartbeat/FC-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30666/FC-5
Modified Files:
heartbeat.spec
Log Message:
fix preun, postun to check for upgrade (#212133)
Index: heartbeat.spec
===================================================================
RCS file: /cvs/extras/rpms/heartbeat/FC-5/heartbeat.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- heartbeat.spec 16 Aug 2006 12:03:08 -0000 1.5
+++ heartbeat.spec 29 Oct 2006 11:28:33 -0000 1.6
@@ -6,7 +6,7 @@
Summary: Heartbeat subsystem for High-Availability Linux
Name: heartbeat
Version: 2.0.7
-Release: 1%{?dist}
+Release: 3%{?dist}
License: GPL/LGPL
URL: http://linux-ha.org/
Group: System Environment/Daemons
@@ -157,9 +157,15 @@
/sbin/chkconfig --add heartbeat
%preun
-/sbin/chkconfig --del heartbeat
+if [ $1 = 0 ] ; then
+ /sbin/service heartbeat stop
+ /sbin/chkconfig --del heartbeat
+fi
%postun
+if [ "$1" -ge "1" ] ; then
+ /sbin/service heartbeat condrestart
+fi
/sbin/ldconfig
test "$1" != 0 || /usr/sbin/fedora-userdel %{uname} &>/dev/null || :
test "$1" != 0 || /usr/sbin/fedora-groupdel %{gname} &>/dev/null || :
@@ -295,6 +301,12 @@
%{_libdir}/*.so
%changelog
+* Sun Oct 29 2006 Joost Soeterbroek <fedora at soeterbroek.com> - 2.0.7-3
+- fix preun, postun to check for upgrade (#212133)
+
+* Wed Aug 30 2006 Joost Soeterbroek <fedora at soeterbroek.com> - 2.0.7-2
+- rebuild for Fedora Extras 6
+
* Wed Aug 16 2006 Joost Soeterbroek <fedora at soeterbroek.com> - 2.0.7-1
- upstream version 2.0.7
More information about the scm-commits
mailing list