Author: glen                         Date: Thu Jan 24 02:44:45 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- use %php4_webserver_restart macro

---- Files affected:
SPECS:
   php4-pecl-http.spec (1.22 -> 1.23) 

---- Diffs:

================================================================
Index: SPECS/php4-pecl-http.spec
diff -u SPECS/php4-pecl-http.spec:1.22 SPECS/php4-pecl-http.spec:1.23
--- SPECS/php4-pecl-http.spec:1.22      Tue Feb 13 09:06:40 2007
+++ SPECS/php4-pecl-http.spec   Thu Jan 24 03:44:40 2008
@@ -4,7 +4,6 @@
 %define                _status         stable
 %define                _sysconfdir     /etc/php4
 %define                extensionsdir   %(php-config --extension-dir 
2>/dev/null)
-
 Summary:       %{_modname} - extended HTTP support
 Summary(pl.UTF-8):     %{_modname} - rozszerzona obsługa protokołu HTTP
 Name:          php4-pecl-%{_modname}
@@ -16,9 +15,9 @@
 # Source0-md5: 96c16435936eab288d5fdd5750e3f863
 URL:           http://pecl.php.net/package/pecl_http/
 BuildRequires: php4-devel >= 3:4.3.0
-BuildRequires: rpmbuild(macros) >= 1.322
+BuildRequires: rpmbuild(macros) >= 1.344
 %{?requires_php_extension}
-Requires:      %{_sysconfdir}/conf.d
+Requires:      php4-common >= 3:4.4.0-3
 Obsoletes:     php-pear-%{_modname}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -104,13 +103,11 @@
 rm -rf $RPM_BUILD_ROOT
 
 %post
-[ ! -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
 
 %postun
 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
 
 %files
@@ -125,6 +122,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.23  2008-01-24 02:44:40  glen
+- use %php4_webserver_restart macro
+
 Revision 1.22  2007-02-13 08:06:40  glen
 - tabs in preamble
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/php4-pecl-http.spec?r1=1.22&r2=1.23&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to