SPECS: php-magickwand.spec - reload php engines on upgrade (from t...

glen glen at pld-linux.org
Fri Jun 15 10:06:38 CEST 2007


Author: glen                         Date: Fri Jun 15 08:06:38 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- reload php engines on upgrade (from template-php-pecl.spec)

---- Files affected:
SPECS:
   php-magickwand.spec (1.6 -> 1.7) 

---- Diffs:

================================================================
Index: SPECS/php-magickwand.spec
diff -u SPECS/php-magickwand.spec:1.6 SPECS/php-magickwand.spec:1.7
--- SPECS/php-magickwand.spec:1.6	Fri Jun 15 00:48:26 2007
+++ SPECS/php-magickwand.spec	Fri Jun 15 10:06:33 2007
@@ -43,6 +43,14 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+%php_webserver_restart
+
+%postun
+if [ "$1" = 0 ]; then
+	%php_webserver_restart
+fi
+
 %files
 %defattr(644,root,root,755)
 %doc README LICENSE ChangeLog AUTHOR
@@ -55,6 +63,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.7  2007/06/15 08:06:33  glen
+- reload php engines on upgrade (from template-php-pecl.spec)
+
 Revision 1.6  2007/06/14 22:48:26  glen
 - more system macros
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/php-magickwand.spec?r1=1.6&r2=1.7&f=u



More information about the pld-cvs-commit mailing list