SPECS: php4.spec - use triggers for cli/sapi extensions install
glen
glen at pld-linux.org
Sat Jan 14 10:07:57 CET 2006
Author: glen Date: Sat Jan 14 09:07:57 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- use triggers for cli/sapi extensions install
---- Files affected:
SPECS:
php4.spec (1.516 -> 1.517)
---- Diffs:
================================================================
Index: SPECS/php4.spec
diff -u SPECS/php4.spec:1.516 SPECS/php4.spec:1.517
--- SPECS/php4.spec:1.516 Sat Jan 14 09:45:05 2006
+++ SPECS/php4.spec Sat Jan 14 10:07:52 2006
@@ -2260,8 +2260,7 @@
%postun mysql
%extension_postun
-%post ncurses
-# NOTE: only for cli/cgi
+%triggerin ncurses -- %{name}-cgi, %{name}-cli
if [ -f %{_sysconfdir}/php-cgi.ini ]; then
%{_sbindir}/php4-module-install install ncurses %{_sysconfdir}/php-cgi.ini
fi
@@ -2269,7 +2268,7 @@
%{_sbindir}/php4-module-install install ncurses %{_sysconfdir}/php-cli.ini
fi
-%preun ncurses
+%triggerun ncurses -- %{name}-cgi, %{name}-cli
if [ "$1" = "0" ]; then
if [ -f %{_sysconfdir}/php-cgi.ini ]; then
[ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove ncurses %{_sysconfdir}/php-cgi.ini
@@ -2303,8 +2302,7 @@
%postun overload
%extension_postun
-%post pcntl
-# NOTE: only for cli/cgi
+%triggerin pcntl -- %{name}-cgi, %{name}-cli
if [ -f %{_sysconfdir}/php-cgi.ini ]; then
%{_sbindir}/php4-module-install install pcntl %{_sysconfdir}/php-cgi.ini
fi
@@ -2312,7 +2310,7 @@
%{_sbindir}/php4-module-install install pcntl %{_sysconfdir}/php-cli.ini
fi
-%preun pcntl
+%triggerun pcntl -- %{name}-cgi, %{name}-cli
if [ "$1" = "0" ]; then
if [ -f %{_sysconfdir}/php-cgi.ini ]; then
[ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove pcntl %{_sysconfdir}/php-cgi.ini
@@ -2358,8 +2356,7 @@
%postun qtdom
%extension_postun
-%post readline
-# NOTE: only for cli/cgi
+%triggerin readline -- %{name}-cgi, %{name}-cli
if [ -f %{_sysconfdir}/php-cgi.ini ]; then
%{_sbindir}/php4-module-install install readline %{_sysconfdir}/php-cgi.ini
fi
@@ -2367,7 +2364,7 @@
%{_sbindir}/php4-module-install install readline %{_sysconfdir}/php-cli.ini
fi
-%preun readline
+%triggerun readline -- %{name}-cgi, %{name}-cli
if [ "$1" = "0" ]; then
if [ -f %{_sysconfdir}/php-cgi.ini ]; then
[ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove readline %{_sysconfdir}/php-cgi.ini
@@ -3241,6 +3238,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.517 2006/01/14 09:07:52 glen
+- use triggers for cli/sapi extensions install
+
Revision 1.516 2006/01/14 08:45:05 glen
- 4.4.2
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/php4.spec?r1=1.516&r2=1.517&f=u
More information about the pld-cvs-commit
mailing list