SPECS: php4-pecl-APC.spec, php4-pecl-SQLite.spec, php4-pecl-crack....

glen glen at pld-linux.org
Thu Jan 24 12:21:30 CET 2008


Author: glen                         Date: Thu Jan 24 11:21:30 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- use %php4_webserver_restart; unify

---- Files affected:
SPECS:
   php4-pecl-APC.spec (1.21 -> 1.22) , php4-pecl-SQLite.spec (1.16 -> 1.17) , php4-pecl-crack.spec (1.11 -> 1.12) , php4-pecl-dbx.spec (1.13 -> 1.14) , php4-pecl-docblock.spec (1.7 -> 1.8) , php4-pecl-expect.spec (1.5 -> 1.6) , php4-pecl-fileinfo.spec (1.8 -> 1.9) , php4-pecl-geoip.spec (1.6 -> 1.7) , php4-pecl-gnupg.spec (1.10 -> 1.11) , php4-pecl-http.spec (1.23 -> 1.24) , php4-pecl-intercept.spec (1.10 -> 1.11) , php4-pecl-lchash.spec (1.4 -> 1.5) , php4-pecl-mailparse.spec (1.12 -> 1.13) , php4-pecl-memcache.spec (1.13 -> 1.14) , php4-pecl-parsekit.spec (1.4 -> 1.5) , php4-pecl-pop3.spec (1.11 -> 1.12) , php4-pecl-rar.spec (1.4 -> 1.5) , php4-pecl-rpmreader.spec (1.6 -> 1.7) , php4-pecl-runkit.spec (1.13 -> 1.14) , php4-pecl-statgrab.spec (1.3 -> 1.4) , php4-pecl-stats.spec (1.7 -> 1.8) , php4-pecl-tidy.spec (1.14 -> 1.15) , php4-pecl-xmlwriter.spec (1.11 -> 1.12) , php4-pecl-yaz.spec (1.12 -> 1.13) , php4-pecl-zip.spec (1.9 -> 1.10) 

---- Diffs:

================================================================
Index: SPECS/php4-pecl-APC.spec
diff -u SPECS/php4-pecl-APC.spec:1.21 SPECS/php4-pecl-APC.spec:1.22
--- SPECS/php4-pecl-APC.spec:1.21	Thu Jan 24 03:43:50 2008
+++ SPECS/php4-pecl-APC.spec	Thu Jan 24 12:21:21 2008
@@ -15,9 +15,9 @@
 URL:		http://pecl.php.net/package/APC/
 BuildRequires:	php4-devel >= 3:4.3.0
 BuildRequires:	rpmbuild(macros) >= 1.344
-%{?requires_php_extension}
 Requires:	php4-common >= 3:4.4.0-3
 Obsoletes:	php-pear-%{_modname}
+%{?requires_php_extension}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -90,6 +90,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.22  2008-01-24 11:21:21  glen
+- use %php4_webserver_restart; unify
+
 Revision 1.21  2008-01-24 02:43:50  glen
 - use %php4_webserver_restart macro
 

================================================================
Index: SPECS/php4-pecl-SQLite.spec
diff -u SPECS/php4-pecl-SQLite.spec:1.16 SPECS/php4-pecl-SQLite.spec:1.17
--- SPECS/php4-pecl-SQLite.spec:1.16	Thu Jan 24 03:43:51 2008
+++ SPECS/php4-pecl-SQLite.spec	Thu Jan 24 12:21:21 2008
@@ -4,7 +4,6 @@
 %define		_smodname	sqlite
 %define		_sysconfdir	/etc/php4
 %define		extensionsdir	%{_libdir}/php4
-
 Summary:	%{_modname} - database bindings
 Summary(pl.UTF-8):	%{_modname} - powiązania z bazą danych
 Name:		php4-pecl-%{_modname}
@@ -17,10 +16,10 @@
 URL:		http://pecl.php.net/package/SQLite/
 BuildRequires:	php4-devel >= 3:4.0.0
 BuildRequires:	rpmbuild(macros) >= 1.344
-%{?requires_php_extension}
 Requires:	php4-common >= 3:4.4.0-3
 Provides:	php(sqlite)
 Obsoletes:	php-pear-%{_modname}
+%{?requires_php_extension}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -81,6 +80,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.17  2008-01-24 11:21:21  glen
+- use %php4_webserver_restart; unify
+
 Revision 1.16  2008-01-24 02:43:51  glen
 - use %php4_webserver_restart macro
 

================================================================
Index: SPECS/php4-pecl-crack.spec
diff -u SPECS/php4-pecl-crack.spec:1.11 SPECS/php4-pecl-crack.spec:1.12
--- SPECS/php4-pecl-crack.spec:1.11	Thu Jan 24 03:43:51 2008
+++ SPECS/php4-pecl-crack.spec	Thu Jan 24 12:21:21 2008
@@ -3,7 +3,6 @@
 %define		_status		beta
 %define		_sysconfdir	/etc/php4
 %define		extensionsdir	%(php-config --extension-dir 2>/dev/null)
-
 Summary:	%{_modname} - checks if password is vulnerable to dictionary attacks
 Summary(pl.UTF-8):	%{_modname} - sprawdzanie czy hasło jest podatne na ataki słownikowe
 Name:		php4-pecl-%{_modname}
@@ -18,10 +17,10 @@
 BuildRequires:	cracklib-devel
 BuildRequires:	php4-devel
 BuildRequires:	rpmbuild(macros) >= 1.344
-%{?requires_php_extension}
 Requires:	php4-common >= 3:4.4.0-3
 Obsoletes:	php-crack
 Obsoletes:	php-pear-%{_modname}
+%{?requires_php_extension}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -83,6 +82,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.12  2008-01-24 11:21:21  glen
+- use %php4_webserver_restart; unify
+
 Revision 1.11  2008-01-24 02:43:51  glen
 - use %php4_webserver_restart macro
 

================================================================
Index: SPECS/php4-pecl-dbx.spec
diff -u SPECS/php4-pecl-dbx.spec:1.13 SPECS/php4-pecl-dbx.spec:1.14
--- SPECS/php4-pecl-dbx.spec:1.13	Thu Jan 24 03:43:51 2008
+++ SPECS/php4-pecl-dbx.spec	Thu Jan 24 12:21:21 2008
@@ -3,7 +3,6 @@
 %define		_status		stable
 %define		_sysconfdir	/etc/php4
 %define		extensionsdir	%{_libdir}/php4
-
 Summary:	%{_modname} - database abstraction functions
 Summary(pl.UTF-8):	%{_modname} - funkcje abstrakcji baz danych
 Name:		php4-pecl-%{_modname}
@@ -16,9 +15,9 @@
 URL:		http://pecl.php.net/package/dbx/
 BuildRequires:	php4-devel >= 3:4.3.0
 BuildRequires:	rpmbuild(macros) >= 1.344
-%{?requires_php_extension}
 Requires:	php4-common >= 3:4.4.0-3
 Obsoletes:	php-pear-%{_modname}
+%{?requires_php_extension}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -86,6 +85,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.14  2008-01-24 11:21:21  glen
+- use %php4_webserver_restart; unify
+
 Revision 1.13  2008-01-24 02:43:51  glen
 - use %php4_webserver_restart macro
 

================================================================
Index: SPECS/php4-pecl-docblock.spec
diff -u SPECS/php4-pecl-docblock.spec:1.7 SPECS/php4-pecl-docblock.spec:1.8
--- SPECS/php4-pecl-docblock.spec:1.7	Thu Jan 24 03:43:51 2008
+++ SPECS/php4-pecl-docblock.spec	Thu Jan 24 12:21:21 2008
@@ -3,7 +3,6 @@
 %define		_status		alpha
 %define		_sysconfdir	/etc/php4
 %define		extensionsdir	%(php-config --extension-dir 2>/dev/null)
-
 Summary:	%{_modname} - phpDocumentor-style DocBlock tokenizer
 Summary(pl.UTF-8):	%{_modname} - tokenizer DocBlock podobny do phpDocumentora
 Name:		php4-pecl-%{_modname}
@@ -16,8 +15,8 @@
 URL:		http://pecl.php.net/package/docblock/
 BuildRequires:	php4-devel >= 3:4.0.0
 BuildRequires:	rpmbuild(macros) >= 1.344
-%{?requires_php_extension}
 Requires:	php4-common >= 3:4.4.0-3
+%{?requires_php_extension}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -108,6 +107,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.8  2008-01-24 11:21:21  glen
+- use %php4_webserver_restart; unify
+
 Revision 1.7  2008-01-24 02:43:51  glen
 - use %php4_webserver_restart macro
 

================================================================
Index: SPECS/php4-pecl-expect.spec
diff -u SPECS/php4-pecl-expect.spec:1.5 SPECS/php4-pecl-expect.spec:1.6
--- SPECS/php4-pecl-expect.spec:1.5	Thu Jan 24 03:43:51 2008
+++ SPECS/php4-pecl-expect.spec	Thu Jan 24 12:21:21 2008
@@ -16,9 +16,9 @@
 BuildRequires:	expect-devel
 BuildRequires:	php4-devel >= 3:4.3.0
 BuildRequires:	rpmbuild(macros) >= 1.344
-%{?requires_php_extension}
 Requires:	php4-common >= 3:4.4.0-3
 Obsoletes:	php-pear-%{_modname}
+%{?requires_php_extension}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -74,6 +74,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2008-01-24 11:21:21  glen
+- use %php4_webserver_restart; unify
+
 Revision 1.5  2008-01-24 02:43:51  glen
 - use %php4_webserver_restart macro
 

================================================================
Index: SPECS/php4-pecl-fileinfo.spec
diff -u SPECS/php4-pecl-fileinfo.spec:1.8 SPECS/php4-pecl-fileinfo.spec:1.9
--- SPECS/php4-pecl-fileinfo.spec:1.8	Tue Feb 13 09:06:40 2007
+++ SPECS/php4-pecl-fileinfo.spec	Thu Jan 24 12:21:21 2008
@@ -15,9 +15,9 @@
 URL:		http://pecl.php.net/package/Fileinfo/
 BuildRequires:	php4-devel >= 3:4.3.0
 BuildRequires:	rpmbuild(macros) >= 1.344
-%{?requires_php_extension}
 Requires:	php4-common >= 3:4.4.0-3
 Obsoletes:	php-pear-%{_modname}
+%{?requires_php_extension}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -83,6 +83,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.9  2008-01-24 11:21:21  glen
+- use %php4_webserver_restart; unify
+
 Revision 1.8  2007-02-13 08:06:40  glen
 - tabs in preamble
 

================================================================
Index: SPECS/php4-pecl-geoip.spec
diff -u SPECS/php4-pecl-geoip.spec:1.6 SPECS/php4-pecl-geoip.spec:1.7
--- SPECS/php4-pecl-geoip.spec:1.6	Thu Jan 24 03:43:51 2008
+++ SPECS/php4-pecl-geoip.spec	Thu Jan 24 12:21:22 2008
@@ -16,8 +16,8 @@
 BuildRequires:	GeoIP-devel
 BuildRequires:	php4-devel >= 3:4.3.0
 BuildRequires:	rpmbuild(macros) >= 1.344
-%{?requires_php_extension}
 Requires:	php4-common >= 3:4.4.0-3
+%{?requires_php_extension}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -79,6 +79,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.7  2008-01-24 11:21:22  glen
+- use %php4_webserver_restart; unify
+
 Revision 1.6  2008-01-24 02:43:51  glen
 - use %php4_webserver_restart macro
 

================================================================
Index: SPECS/php4-pecl-gnupg.spec
diff -u SPECS/php4-pecl-gnupg.spec:1.10 SPECS/php4-pecl-gnupg.spec:1.11
--- SPECS/php4-pecl-gnupg.spec:1.10	Thu Jan 24 03:43:51 2008
+++ SPECS/php4-pecl-gnupg.spec	Thu Jan 24 12:21:22 2008
@@ -16,8 +16,8 @@
 BuildRequires:	gpgme-devel
 BuildRequires:	php4-devel >= 3:4.3.0
 BuildRequires:	rpmbuild(macros) >= 1.344
-%{?requires_php_extension}
 Requires:	php4-common >= 3:4.4.0-3
+%{?requires_php_extension}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -74,6 +74,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.11  2008-01-24 11:21:22  glen
+- use %php4_webserver_restart; unify
+
 Revision 1.10  2008-01-24 02:43:51  glen
 - use %php4_webserver_restart macro
 

================================================================
Index: SPECS/php4-pecl-http.spec
diff -u SPECS/php4-pecl-http.spec:1.23 SPECS/php4-pecl-http.spec:1.24
--- SPECS/php4-pecl-http.spec:1.23	Thu Jan 24 03:44:40 2008
+++ SPECS/php4-pecl-http.spec	Thu Jan 24 12:21:22 2008
@@ -16,9 +16,9 @@
 URL:		http://pecl.php.net/package/pecl_http/
 BuildRequires:	php4-devel >= 3:4.3.0
 BuildRequires:	rpmbuild(macros) >= 1.344
-%{?requires_php_extension}
 Requires:	php4-common >= 3:4.4.0-3
 Obsoletes:	php-pear-%{_modname}
+%{?requires_php_extension}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -122,6 +122,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.24  2008-01-24 11:21:22  glen
+- use %php4_webserver_restart; unify
+
 Revision 1.23  2008-01-24 02:44:40  glen
 - use %php4_webserver_restart macro
 

================================================================
Index: SPECS/php4-pecl-intercept.spec
diff -u SPECS/php4-pecl-intercept.spec:1.10 SPECS/php4-pecl-intercept.spec:1.11
--- SPECS/php4-pecl-intercept.spec:1.10	Tue Feb 13 09:06:40 2007
+++ SPECS/php4-pecl-intercept.spec	Thu Jan 24 12:21:22 2008
@@ -3,7 +3,6 @@
 %define		_status		alpha
 %define		_sysconfdir	/etc/php4
 %define		extensionsdir	%{_libdir}/php4
-
 Summary:	%{_modname} - intercept function/method calls
 Summary(pl.UTF-8):	%{_modname} - przechwytywanie wywołań funkcji/metod
 Name:		php4-pecl-%{_modname}
@@ -15,9 +14,9 @@
 # Source0-md5:	442121f4043984cdde213918266a925c
 URL:		http://pecl.php.net/package/intercept/
 BuildRequires:	php4-devel >= 4.0.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)
 
@@ -58,13 +57,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
@@ -79,6 +76,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.11  2008-01-24 11:21:22  glen
+- use %php4_webserver_restart; unify
+
 Revision 1.10  2007-02-13 08:06:40  glen
 - tabs in preamble
 

================================================================
Index: SPECS/php4-pecl-lchash.spec
diff -u SPECS/php4-pecl-lchash.spec:1.4 SPECS/php4-pecl-lchash.spec:1.5
--- SPECS/php4-pecl-lchash.spec:1.4	Tue Feb 13 09:06:40 2007
+++ SPECS/php4-pecl-lchash.spec	Thu Jan 24 12:21:22 2008
@@ -3,7 +3,6 @@
 %define		_status		stable
 %define		_sysconfdir	/etc/php4
 %define		extensionsdir	%(php-config --extension-dir 2>/dev/null)
-
 Summary:	%{_modname} - Libc Hash Interface
 Summary(pl.UTF-8):	%{_modname} - interfejs tablic haszujących libc
 Name:		php4-pecl-%{_modname}
@@ -16,8 +15,8 @@
 URL:		http://pecl.php.net/package/lchash/
 BuildRequires:	libtool
 BuildRequires:	php4-devel >= 3:4.3.0
-BuildRequires:	rpmbuild(macros) >= 1.322
-Requires:	%{_sysconfdir}/conf.d
+BuildRequires:	rpmbuild(macros) >= 1.344
+Requires:	php4-common >= 3:4.4.0-3
 %{?requires_php_extension}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -56,13 +55,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
@@ -77,6 +74,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2008-01-24 11:21:22  glen
+- use %php4_webserver_restart; unify
+
 Revision 1.4  2007-02-13 08:06:40  glen
 - tabs in preamble
 

================================================================
Index: SPECS/php4-pecl-mailparse.spec
diff -u SPECS/php4-pecl-mailparse.spec:1.12 SPECS/php4-pecl-mailparse.spec:1.13
--- SPECS/php4-pecl-mailparse.spec:1.12	Tue Feb 13 09:06:40 2007
+++ SPECS/php4-pecl-mailparse.spec	Thu Jan 24 12:21:22 2008
@@ -3,7 +3,6 @@
 %define		_status		stable
 %define		_sysconfdir	/etc/php4
 %define		extensionsdir	%{_libdir}/php4
-
 Summary:	Email message manipulation
 Summary(pl.UTF-8):	Obrabianie wiadomości E-mail
 Name:		php4-pecl-%{_modname}
@@ -15,9 +14,9 @@
 # Source0-md5:	14c058d79f1f6c01aa53273565bd4a54
 URL:		http://pecl.php.net/package/mailparse/
 BuildRequires:	php4-devel
-BuildRequires:	rpmbuild(macros) >= 1.322
+BuildRequires:	rpmbuild(macros) >= 1.344
+Requires:	php4-common >= 3:4.4.0-3
 %{?requires_php_extension}
-Requires:	%{_sysconfdir}/conf.d
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -57,13 +56,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
@@ -78,6 +75,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.13  2008-01-24 11:21:22  glen
+- use %php4_webserver_restart; unify
+
 Revision 1.12  2007-02-13 08:06:40  glen
 - tabs in preamble
 

================================================================
Index: SPECS/php4-pecl-memcache.spec
diff -u SPECS/php4-pecl-memcache.spec:1.13 SPECS/php4-pecl-memcache.spec:1.14
--- SPECS/php4-pecl-memcache.spec:1.13	Tue Feb 13 09:06:40 2007
+++ SPECS/php4-pecl-memcache.spec	Thu Jan 24 12:21:22 2008
@@ -3,7 +3,6 @@
 %define		_status		stable
 %define		_sysconfdir	/etc/php4
 %define		extensionsdir	%{_libdir}/php4
-
 Summary:	%{_modname} - a memcached extension
 Summary(pl.UTF-8):	%{_modname} - rozszerzenie memcached
 Name:		php4-pecl-%{_modname}
@@ -15,9 +14,9 @@
 # Source0-md5:	f521dd4d3cad4ccb05d9ade4e1cc04d4
 URL:		http://pecl.php.net/package/memcached/
 BuildRequires:	php4-devel >= 3:4.3.3
-BuildRequires:	rpmbuild(macros) >= 1.322
+BuildRequires:	rpmbuild(macros) >= 1.344
+Requires:	php4-common >= 3:4.4.0-3
 %{?requires_php_extension}
-Requires:	%{_sysconfdir}/conf.d
 Obsoletes:	php4-pear-%{_modname}
 Conflicts:	php4-mcache
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -65,13 +64,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
@@ -86,6 +83,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.14  2008-01-24 11:21:22  glen
+- use %php4_webserver_restart; unify
+
 Revision 1.13  2007-02-13 08:06:40  glen
 - tabs in preamble
 

================================================================
Index: SPECS/php4-pecl-parsekit.spec
diff -u SPECS/php4-pecl-parsekit.spec:1.4 SPECS/php4-pecl-parsekit.spec:1.5
--- SPECS/php4-pecl-parsekit.spec:1.4	Tue Feb 13 09:06:40 2007
+++ SPECS/php4-pecl-parsekit.spec	Thu Jan 24 12:21:22 2008
@@ -3,7 +3,6 @@
 %define		_status		stable
 %define		_sysconfdir	/etc/php
 %define		extensionsdir	%(php-config --extension-dir 2>/dev/null)
-
 Summary:	%{_modname} - PHP Opcode Analyser
 Summary(pl.UTF-8):	%{_modname} - Analizator instrukcji PHP
 Name:		php4-pecl-%{_modname}
@@ -15,9 +14,9 @@
 # Source0-md5:	6d633eda06a68a9c063c9b1cd3eff78d
 URL:		http://pecl.php.net/package/parsekit/
 BuildRequires:	php4-devel >= 3:4.3.0
-BuildRequires:	rpmbuild(macros) >= 1.322
+BuildRequires:	rpmbuild(macros) >= 1.344
+Requires:	php4-common >= 3:4.4.0-3
 %{?requires_php_extension}
-Requires:	%{_sysconfdir}/conf.d
 Obsoletes:	php-pear-%{_modname}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -64,13 +63,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
@@ -85,6 +82,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2008-01-24 11:21:22  glen
+- use %php4_webserver_restart; unify
+
 Revision 1.4  2007-02-13 08:06:40  glen
 - tabs in preamble
 

================================================================
Index: SPECS/php4-pecl-pop3.spec
diff -u SPECS/php4-pecl-pop3.spec:1.11 SPECS/php4-pecl-pop3.spec:1.12
--- SPECS/php4-pecl-pop3.spec:1.11	Tue Feb 13 09:06:40 2007
+++ SPECS/php4-pecl-pop3.spec	Thu Jan 24 12:21:22 2008
@@ -3,7 +3,6 @@
 %define		_status		stable
 %define		_sysconfdir	/etc/php4
 %define		extensionsdir	%{_libdir}/php4
-
 Summary:	POP3 Client Library
 Summary(pl.UTF-8):	Biblioteka klienta POP3
 Name:		php4-pecl-%{_modname}
@@ -16,9 +15,9 @@
 URL:		http://pecl.php.net/package/POP3/
 BuildRequires:	libspopc-devel
 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)
 
@@ -82,6 +81,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.12  2008-01-24 11:21:22  glen
+- use %php4_webserver_restart; unify
+
 Revision 1.11  2007-02-13 08:06:40  glen
 - tabs in preamble
 

================================================================
Index: SPECS/php4-pecl-rar.spec
diff -u SPECS/php4-pecl-rar.spec:1.4 SPECS/php4-pecl-rar.spec:1.5
--- SPECS/php4-pecl-rar.spec:1.4	Tue Feb 13 09:06:40 2007
+++ SPECS/php4-pecl-rar.spec	Thu Jan 24 12:21:22 2008
@@ -3,7 +3,6 @@
 %define		_status		beta
 %define		_sysconfdir	/etc/php4
 %define		extensionsdir	%(php-config --extension-dir 2>/dev/null)
-
 Summary:	%{_modname} - read rar archives
 Summary(pl.UTF-8):	%{_modname} - odczyt archiwów rar
 Name:		php4-pecl-%{_modname}
@@ -15,9 +14,9 @@
 # Source0-md5:	ef566da9c7d1fad9e28ed729988dcf05
 URL:		http://pecl.php.net/package/rar/
 BuildRequires:	php4-devel >= 3:4.3.0
<<Diff was trimmed, longer than 597 lines>>

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/php4-pecl-APC.spec?r1=1.21&r2=1.22&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/php4-pecl-SQLite.spec?r1=1.16&r2=1.17&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/php4-pecl-crack.spec?r1=1.11&r2=1.12&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/php4-pecl-dbx.spec?r1=1.13&r2=1.14&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/php4-pecl-docblock.spec?r1=1.7&r2=1.8&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/php4-pecl-expect.spec?r1=1.5&r2=1.6&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/php4-pecl-fileinfo.spec?r1=1.8&r2=1.9&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/php4-pecl-geoip.spec?r1=1.6&r2=1.7&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/php4-pecl-gnupg.spec?r1=1.10&r2=1.11&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/php4-pecl-http.spec?r1=1.23&r2=1.24&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/php4-pecl-intercept.spec?r1=1.10&r2=1.11&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/php4-pecl-lchash.spec?r1=1.4&r2=1.5&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/php4-pecl-mailparse.spec?r1=1.12&r2=1.13&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/php4-pecl-memcache.spec?r1=1.13&r2=1.14&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/php4-pecl-parsekit.spec?r1=1.4&r2=1.5&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/php4-pecl-pop3.spec?r1=1.11&r2=1.12&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/php4-pecl-rar.spec?r1=1.4&r2=1.5&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/php4-pecl-rpmreader.spec?r1=1.6&r2=1.7&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/php4-pecl-runkit.spec?r1=1.13&r2=1.14&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/php4-pecl-statgrab.spec?r1=1.3&r2=1.4&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/php4-pecl-stats.spec?r1=1.7&r2=1.8&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/php4-pecl-tidy.spec?r1=1.14&r2=1.15&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/php4-pecl-xmlwriter.spec?r1=1.11&r2=1.12&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/php4-pecl-yaz.spec?r1=1.12&r2=1.13&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/php4-pecl-zip.spec?r1=1.9&r2=1.10&f=u



More information about the pld-cvs-commit mailing list