[packages/php/PHP_5_4] drop old upgrade triggers from 5.0.4-9.11
glen
glen at pld-linux.org
Thu Aug 2 01:05:07 CEST 2012
commit 49a4b19a346ca42502f693a65a5342e12ef8035a
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Thu Aug 2 01:18:32 2012 +0300
drop old upgrade triggers from 5.0.4-9.11
php.spec | 18 ------------------
1 file changed, 18 deletions(-)
---
diff --git a/php.spec b/php.spec
index aa5f694..6c39e7f 100644
--- a/php.spec
+++ b/php.spec
@@ -2557,24 +2557,6 @@ fi
[ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart
[ ! -f /etc/httpd/conf.d/??_mod_php.conf ] || %service -q httpd restart
-%if %{with apache1}
-%triggerpostun -n apache1-mod_php%{php_suffix} -- php < 4:5.0.4-9.11
-sed -i -e '
- /^AddType application\/x-httpd-php \.php/s,^,#,
- /^\(Add\|Load\)Module.*php5\.\(so\|c\)/d
-' /etc/apache/apache.conf
-%service -q apache restart
-%endif
-
-%if %{with apache2}
-%triggerpostun -n apache-mod_php%{php_suffix} -- php < 4: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
-
# common macros called at extension post/postun scriptlet
%define extension_scripts() \
%post %1 \
More information about the pld-cvs-commit
mailing list