Author: glen Date: Tue Jan 16 21:45:59 2007 GMT Module: SPECS Tag: HEAD ---- Log message: - use new php extension macros
---- Files affected: SPECS: ZendOptimizer.spec (1.27 -> 1.28) ---- Diffs: ================================================================ Index: SPECS/ZendOptimizer.spec diff -u SPECS/ZendOptimizer.spec:1.27 SPECS/ZendOptimizer.spec:1.28 --- SPECS/ZendOptimizer.spec:1.27 Mon Apr 3 10:13:08 2006 +++ SPECS/ZendOptimizer.spec Tue Jan 16 22:45:53 2007 @@ -17,7 +17,7 @@ Source1: http://downloads.zend.com/optimizer/2.6.2/%{name}-%{version}-linux-glibc23-x86_64.tar.gz # Source1-md5: 7d7aaee366ff653e78beb457701197c5 URL: http://www.zend.com/zend/optimizer.php -BuildRequires: rpmbuild(macros) >= 1.213 +BuildRequires: rpmbuild(macros) >= 1.344 BuildRequires: tar >= 1:1.15.1 Requires(triggerpostun): sed >= 4.0 ExclusiveArch: %{ix86} %{x8664} @@ -34,7 +34,7 @@ Summary(pl): Zend Optimizer dla PHP 4.x Group: Libraries Requires: %{name} = %{version}-%{release} -Requires: php4-common >= 3:4.0.6 +Requires: php4-common >= 3:4.4.0-3 %description -n php4-%{name} Zend Optimizer for PHP 4.x. @@ -47,7 +47,7 @@ Summary(pl): Zend Optimizer dla PHP 5.x Group: Libraries Requires: %{name} = %{version}-%{release} -Requires: php-common >= 4:5.0.0 +Requires: php-common >= 4:5.0.4 %description -n php-%{name} Zend Optimizer for PHP 5.x. @@ -114,8 +114,7 @@ %preun -n php4-%{name} if [ "$1" = "0" ]; then - [ ! -f /etc/apache/conf.d/??_mod_php4.conf ] || %service -q apache restart - [ ! -f /etc/httpd/httpd.conf/??_mod_php4.conf ] || %service -q httpd restart + %php4_webserver_restart fi %post -n php4-%{name} @@ -124,14 +123,11 @@ if [ ! -L %{_libdir}/Zend/etc ]; then ln -snf /etc/php4 %{_libdir}/Zend/etc fi -[ ! -f /etc/apache/conf.d/??_mod_php4.conf ] || %service -q apache restart -[ ! -f /etc/httpd/httpd.conf/??_mod_php4.conf ] || %service -q httpd restart - +%php4_webserver_restart %preun -n php-%{name} if [ "$1" = "0" ]; then - [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart - [ ! -f /etc/httpd/httpd.conf/??_mod_php.conf ] || %service -q httpd restart + %php_webserver_restart fi %post -n php-%{name} @@ -140,8 +136,7 @@ if [ ! -L %{_libdir}/Zend/etc ]; then ln -snf /etc/php %{_libdir}/Zend/etc fi -[ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart -[ ! -f /etc/httpd/httpd.conf/??_mod_php.conf ] || %service -q httpd restart +%php_webserver_restart %post if [ "$1" = 1 ]; then @@ -201,6 +196,9 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.28 2007/01/16 21:45:53 glen +- use new php extension macros + Revision 1.27 2006/04/03 08:13:08 glen - drop circular dep (php*-ZendOptimizer post script requires ZendOptimizer) - rel 2 ================================================================ ---- CVS-web: http://cvs.pld-linux.org/SPECS/ZendOptimizer.spec?r1=1.27&r2=1.28&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
