SPECS: php.spec - trigger for php-apache2handler.ini name change
glen
glen at pld-linux.org
Sun Jul 24 23:34:41 CEST 2005
Author: glen Date: Sun Jul 24 21:34:41 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- trigger for php-apache2handler.ini name change
---- Files affected:
SPECS:
php.spec (1.455 -> 1.456)
---- Diffs:
================================================================
Index: SPECS/php.spec
diff -u SPECS/php.spec:1.455 SPECS/php.spec:1.456
--- SPECS/php.spec:1.455 Sun Jul 24 23:29:21 2005
+++ SPECS/php.spec Sun Jul 24 23:34:35 2005
@@ -78,7 +78,7 @@
Summary(uk): PHP ÷ĹŇÓŚ§ 5 - ÍĎ×Á ĐŇĹĐŇĎĂĹÓŐ×ÁÎÎŃ HTML-ĆÁĘĚŚ×, ×ÉËĎÎŐ×ÁÎÁ ÎÁ ÓĹŇ×ĹŇŚ
Name: php
Version: 5.0.4
-Release: 7%{?with_hardening:hardened}.1
+Release: 7.1%{?with_hardening:hardened}
Epoch: 4
Group: Libraries
License: PHP
@@ -1644,6 +1644,15 @@
%clean
rm -rf $RPM_BUILD_ROOT
+%if %{_apache2}
+%triggerpostun -n php < 3:5.0.4-7.1
+# for fixed php-SAPI.ini, the poor php-apache.ini was never read for apache2
+if [ -f %{_sysconfdir}/php-apache.ini.rpmsave ]; then
+ cp -f %{_sysconfdir}/php-apache2handler.ini{,.rpmnew}
+ mv -f %{_sysconfdir}/php-apache.ini.rpmsave %{_sysconfdir}/php-apache2handler.ini
+fi
+%endif
+
%post
%if ! %{_apache2}
%{__perl} -pi -e 's|^#AddType application/x-httpd-php \.php|AddType application/x-httpd-php .php|' \
@@ -2596,6 +2605,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.456 2005/07/24 21:34:35 glen
+- trigger for php-apache2handler.ini name change
+
Revision 1.455 2005/07/24 21:29:21 gotar
- use php-apache2handler.ini instead of php-apache.ini for apache2
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/php.spec?r1=1.455&r2=1.456&f=u
More information about the pld-cvs-commit
mailing list