SPECS: eventum.spec - add missing %preun irc

glen glen at pld-linux.org
Thu Jun 15 19:33:58 CEST 2006


Author: glen                         Date: Thu Jun 15 17:33:58 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add missing %preun irc

---- Files affected:
SPECS:
   eventum.spec (1.181 -> 1.182) 

---- Diffs:

================================================================
Index: SPECS/eventum.spec
diff -u SPECS/eventum.spec:1.181 SPECS/eventum.spec:1.182
--- SPECS/eventum.spec:1.181	Tue Jun  6 14:05:57 2006
+++ SPECS/eventum.spec	Thu Jun 15 19:33:53 2006
@@ -14,7 +14,7 @@
 
 #define	_snap	20060330
 #define	_rc		RC3
-%define	_rel	2.22
+%define	_rel	2.23
 
 %include	/usr/lib/rpm/macros.php
 Summary:	Eventum Issue / Bug tracking system
@@ -728,6 +728,12 @@
 /sbin/chkconfig --add eventum-irc
 %service eventum-irc restart "Eventum IRC Bot"
 
+%preun irc
+if [ "$1" = 0 ]; then
+	%service eventum-irc stop
+	/sbin/chkconfig --del eventum-irc
+fi
+
 %triggerin -- apache1
 %webapp_register apache %{_webapp}
 
@@ -970,6 +976,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.182  2006/06/15 17:33:53  glen
+- add missing %preun irc
+
 Revision 1.181  2006/06/06 12:05:57  glen
 - logrotate for eventum
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/eventum.spec?r1=1.181&r2=1.182&f=u



More information about the pld-cvs-commit mailing list