packages: amanda/amanda.spec - mover banner to trigger

baggins baggins at pld-linux.org
Fri Nov 26 12:22:30 CET 2010


Author: baggins                      Date: Fri Nov 26 11:22:30 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- mover banner to trigger

---- Files affected:
packages/amanda:
   amanda.spec (1.205 -> 1.206) 

---- Diffs:

================================================================
Index: packages/amanda/amanda.spec
diff -u packages/amanda/amanda.spec:1.205 packages/amanda/amanda.spec:1.206
--- packages/amanda/amanda.spec:1.205	Fri Nov 26 11:48:24 2010
+++ packages/amanda/amanda.spec	Fri Nov 26 12:22:24 2010
@@ -11,7 +11,7 @@
 Summary(pl.UTF-8):	Sieciowo zorientowany system tworzenia kopii zapasowych
 Name:		amanda
 Version:	3.2.0
-Release:	0.1
+Release:	0.2
 License:	BSD
 Group:		Networking/Utilities
 Source0:	http://dl.sourceforge.net/amanda/%{name}-%{version}.tar.gz
@@ -351,6 +351,13 @@
 if [ "$1" = "1" ]; then
 	echo "Don't forget to edit /etc/cron.d/amanda-srv." 1>&2
 fi
+
+%postun server
+if [ "$1" = 0 ]; then
+	%service -q rc-inetd reload
+fi
+
+%triggerpostun server -- amanda-server < 3.2.0
 %banner %{name} -e << EOF
 Warning: Tape changer configuration has chaged, please read
 %{_docdir}/%{name}-server-%{version}/ReleaseNotes.gz
@@ -359,11 +366,6 @@
 to upgrade to chg-robot.
 EOF
 
-%postun server
-if [ "$1" = 0 ]; then
-	%service -q rc-inetd reload
-fi
-
 %files common
 %defattr(644,root,root,755)
 %doc AUTHORS COPYRIGHT ChangeLog NEWS README ReleaseNotes UPGRADING
@@ -660,6 +662,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.206  2010/11/26 11:22:24  baggins
+- mover banner to trigger
+
 Revision 1.205  2010/11/26 10:48:24  baggins
 - added banner about tape changer conf
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/amanda/amanda.spec?r1=1.205&r2=1.206&f=u



More information about the pld-cvs-commit mailing list