]> git.pld-linux.org Git - packages/php-pecl-xdebug.git/commitdiff
- updated to 2.0.0RC2 auto/ac/php-pecl-xdebug-2_0_0-0_RC2_1
authorAdam Gołębiowski <adamg@pld-linux.org>
Sun, 24 Dec 2006 20:00:23 +0000 (20:00 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- make use of php_webserver_restart macro

Changed files:
    php-pecl-xdebug.spec -> 1.39

php-pecl-xdebug.spec

index 28cd16b220a377f49876ffda55b1a869671fb89f..9d6c2d4adc7aedabc7390bd7dcbe7e51d0f004a2 100644 (file)
@@ -6,18 +6,18 @@ Summary:      %{_modname} - provides functions for functions traces and profiling
 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
@@ -98,13 +98,11 @@ EOF
 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
This page took 0.039729 seconds and 4 git commands to generate.