packages: php-libvirt/php-libvirt.spec - updated rpm macros

qboosh qboosh at pld-linux.org
Sun Jul 1 11:50:24 CEST 2012


Author: qboosh                       Date: Sun Jul  1 09:50:24 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- updated rpm macros

---- Files affected:
packages/php-libvirt:
   php-libvirt.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/php-libvirt/php-libvirt.spec
diff -u packages/php-libvirt/php-libvirt.spec:1.1 packages/php-libvirt/php-libvirt.spec:1.2
--- packages/php-libvirt/php-libvirt.spec:1.1	Sun Jul  1 11:47:49 2012
+++ packages/php-libvirt/php-libvirt.spec	Sun Jul  1 11:50:19 2012
@@ -14,10 +14,11 @@
 BuildRequires:	libxml2-devel >= 2.0.0
 BuildRequires:	libxml2-progs
 BuildRequires:	libxslt-progs
-BuildRequires:	php-devel
+BuildRequires:	php-devel >= 3:5.0.0
 BuildRequires:	pkgconfig
-BuildRequires:	rpmbuild(macros) >= 1.461
-Requires:	php-common
+BuildRequires:	rpmbuild(macros) >= 1.519
+%{?requires_php_extension}
+Requires:	php-common >= 4:5.0.4
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define		_phpdocdir		%{_docdir}/phpdoc
@@ -61,6 +62,14 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+%php_webserver_restart
+
+%postun
+if [ "$1" = 0 ]; then
+	%php_webserver_restart
+fi
+
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog README
@@ -77,5 +86,8 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2012/07/01 09:50:19  qboosh
+- updated rpm macros
+
 Revision 1.1  2012/07/01 09:47:49  qboosh
 - new
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/packages/php-libvirt/php-libvirt.spec?r1=1.1&r2=1.2



More information about the pld-cvs-commit mailing list