SPECS: php-pecl-yaz.spec - updated to 1.0.8 - make use of php_webs...

adamg adamg at pld-linux.org
Sun Dec 24 21:08:49 CET 2006


Author: adamg                        Date: Sun Dec 24 20:08:49 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 1.0.8
- make use of php_webserver_restart macro
- BuildRequires: libxslt-devel

---- Files affected:
SPECS:
   php-pecl-yaz.spec (1.17 -> 1.18) 

---- Diffs:

================================================================
Index: SPECS/php-pecl-yaz.spec
diff -u SPECS/php-pecl-yaz.spec:1.17 SPECS/php-pecl-yaz.spec:1.18
--- SPECS/php-pecl-yaz.spec:1.17	Thu Dec 14 00:56:54 2006
+++ SPECS/php-pecl-yaz.spec	Sun Dec 24 21:08:43 2006
@@ -6,15 +6,16 @@
 Summary:	%{_modname} - a Z39.50 client for PHP
 Summary(pl):	%{_modname} - klient Z39.50 dla PHP
 Name:		php-pecl-%{_modname}
-Version:	1.0.7
-Release:	2
+Version:	1.0.8
+Release:	1
 License:	PHP
 Group:		Development/Languages/PHP
 Source0:	http://pecl.php.net/get/%{_modname}-%{version}.tgz
-# Source0-md5:	e240666711bfd9936bb9632272a53ecc
+# Source0-md5:	72795905f95e7786b17b9918989eeaa6
 URL:		http://pecl.php.net/package/yaz/
+BuildRequires:	libxslt-devel
 BuildRequires:	php-devel >= 3:5.0.0
-BuildRequires:	rpmbuild(macros) >= 1.322
+BuildRequires:	rpmbuild(macros) >= 1.344
 BuildRequires:	yaz-devel
 %{?requires_php_extension}
 Requires:	%{_sysconfdir}/conf.d
@@ -63,13 +64,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
@@ -84,6 +83,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.18  2006/12/24 20:08:43  adamg
+- updated to 1.0.8
+- make use of php_webserver_restart macro
+- BuildRequires: libxslt-devel
+
 Revision 1.17  2006/12/13 23:56:54  glen
 - rel 2 (php 5.2.0)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/php-pecl-yaz.spec?r1=1.17&r2=1.18&f=u



More information about the pld-cvs-commit mailing list