SPECS: php-pecl-zip.spec - updated to 1.8.3 - make use of php_webs...

adamg adamg at pld-linux.org
Sun Dec 24 21:05:29 CET 2006


Author: adamg                        Date: Sun Dec 24 20:05:29 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 1.8.3
- make use of php_webserver_restart macro

---- Files affected:
SPECS:
   php-pecl-zip.spec (1.27 -> 1.28) 

---- Diffs:

================================================================
Index: SPECS/php-pecl-zip.spec
diff -u SPECS/php-pecl-zip.spec:1.27 SPECS/php-pecl-zip.spec:1.28
--- SPECS/php-pecl-zip.spec:1.27	Thu Dec 14 01:00:42 2006
+++ SPECS/php-pecl-zip.spec	Sun Dec 24 21:05:24 2006
@@ -7,15 +7,15 @@
 Summary:	%{_modname} - a zip management extension
 Summary(pl):	%{_modname} - zarządzanie archiwami zip
 Name:		php-pecl-%{_modname}
-Version:	1.8.2
+Version:	1.8.3
 Release:	1
 License:	PHP 2.02
 Group:		Development/Languages/PHP
 Source0:	http://pecl.php.net/get/%{_modname}-%{version}.tgz
-# Source0-md5:	1d384ca4750b367ba7b82e3f330735ed
+# Source0-md5:	87d74e8c07d5a20f68faec508629381b
 URL:		http://pecl.php.net/package/zip/
 BuildRequires:	php-devel >= 3:5.0.0
-BuildRequires:	rpmbuild(macros) >= 1.322
+BuildRequires:	rpmbuild(macros) >= 1.344
 BuildRequires:	zziplib-devel
 %{?requires_php_extension}
 Requires:	%{_sysconfdir}/conf.d
@@ -58,13 +58,11 @@
 rm -rf $RPM_BUILD_ROOT
 
 %post
-[ ! -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
 
 %postun
 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
 
 %files
@@ -79,6 +77,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.28  2006/12/24 20:05:24  adamg
+- updated to 1.8.3
+- make use of php_webserver_restart macro
+
 Revision 1.27  2006/12/14 00:00:42  glen
 - update to 1.8.2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/php-pecl-zip.spec?r1=1.27&r2=1.28&f=u



More information about the pld-cvs-commit mailing list