SPECS: php-pecl-xdebug.spec - updated to 2.0.0RC2 - make use of ph...

adamg adamg at pld-linux.org
Sun Dec 24 21:00:28 CET 2006


Author: adamg                        Date: Sun Dec 24 20:00:28 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 2.0.0RC2
- make use of php_webserver_restart macro

---- Files affected:
SPECS:
   php-pecl-xdebug.spec (1.38 -> 1.39) 

---- Diffs:

================================================================
Index: SPECS/php-pecl-xdebug.spec
diff -u SPECS/php-pecl-xdebug.spec:1.38 SPECS/php-pecl-xdebug.spec:1.39
--- SPECS/php-pecl-xdebug.spec:1.38	Thu Dec 14 00:53:21 2006
+++ SPECS/php-pecl-xdebug.spec	Sun Dec 24 21:00:23 2006
@@ -7,18 +7,18 @@
 Summary(pl):	%{_modname} - funkcje do śledzenia i profilowania funkcji
 Name:		php-pecl-%{_modname}
 Version:	2.0.0
-%define	_snap	RC1
-%define	_rel	2
+%define	_snap	RC2
+%define	_rel	1
 Release:	0.%{_snap}.%{_rel}
 License:	BSD style
 Group:		Development/Languages/PHP
 Source0:	http://pecl.php.net/get/%{_modname}-%{version}%{_snap}.tgz
-# Source0-md5:	a048de3dbb5a16489921f2096b8003e1
+# Source0-md5:	2abef81227a5d60af45ad0792e2fd996
 URL:		http://pecl.php.net/package/xdebug/
 BuildRequires:	libedit-devel
 BuildRequires:	libtool
 BuildRequires:	php-devel >= 3:5.0.0
-BuildRequires:	rpmbuild(macros) >= 1.254
+BuildRequires:	rpmbuild(macros) >= 1.344
 Requires:	%{_sysconfdir}/conf.d
 %{?requires_zend_extension}
 Conflicts:	ZendOptimizer
@@ -99,13 +99,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
@@ -121,6 +119,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.39  2006/12/24 20:00:23  adamg
+- updated to 2.0.0RC2
+- make use of php_webserver_restart macro
+
 Revision 1.38  2006/12/13 23:53:21  glen
 - rel 2 (php 5.2.0)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/php-pecl-xdebug.spec?r1=1.38&r2=1.39&f=u



More information about the pld-cvs-commit mailing list