SPECS: php4.spec - fix trigger common restart

glen glen at pld-linux.org
Sat Aug 13 14:04:29 CEST 2005


Author: glen                         Date: Sat Aug 13 12:04:29 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fix trigger common restart

---- Files affected:
SPECS:
   php4.spec (1.466 -> 1.467) 

---- Diffs:

================================================================
Index: SPECS/php4.spec
diff -u SPECS/php4.spec:1.466 SPECS/php4.spec:1.467
--- SPECS/php4.spec:1.466	Sat Aug 13 13:07:23 2005
+++ SPECS/php4.spec	Sat Aug 13 14:04:24 2005
@@ -74,7 +74,7 @@
 Summary(uk):	PHP ÷ĹŇÓŚ§ 4 - ÍĎ×Á ĐŇĹĐŇĎĂĹÓŐ×ÁÎÎŃ HTML-ĆÁĘĚŚ×, ×ÉËĎÎŐ×ÁÎÁ ÎÁ ÓĹŇ×ĹŇŚ
 Name:		php4
 Version:	4.4.0
-Release:	4.35%{?with_hardening:hardened}
+Release:	4.44%{?with_hardening:hardened}
 Epoch:		3
 Group:		Libraries
 License:	PHP
@@ -1959,9 +1959,9 @@
 # extension_post here is all correct.
 %extension_post
 
-%triggerpostun common -- php4-common < 3:4.4.0-4.34
-# compensate missing restart from earlier php4-common package
-%extension_post
+%triggerpostun common -- %{name}-common < 3:4.4.0-4.42
+[ ! -f /etc/apache/conf.d/??_mod_php4.conf ] || %service apache restart
+[ ! -f /etc/httpd/httpd.conf/??_mod_php4.conf ] || %service httpd restart
 
 %if %{with apache2}
 %triggerpostun -- php4 < 3:4.3.11-4.16
@@ -3095,6 +3095,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.467  2005/08/13 12:04:24  glen
+- fix trigger common restart
+
 Revision 1.466  2005/08/13 11:07:23  glen
 - compensate missing restart from earlier php4-common package
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/php4.spec?r1=1.466&r2=1.467&f=u




More information about the pld-cvs-commit mailing list