[packages/php-pear-System_Socket] use rpm4/rpm5 compatible _noautoreq pear

glen glen at pld-linux.org
Wed May 14 20:12:54 CEST 2014


commit bbc58ffcd85ffe784f947fa3ed1715fe09e3bdd6
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed May 14 21:12:53 2014 +0300

    use rpm4/rpm5 compatible _noautoreq pear

 php-pear-System_Socket.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/php-pear-System_Socket.spec b/php-pear-System_Socket.spec
index aaa2278..caa5dfd 100644
--- a/php-pear-System_Socket.spec
+++ b/php-pear-System_Socket.spec
@@ -13,7 +13,7 @@ Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
 URL:		http://pear.php.net/package/System_Socket/
 BuildRequires:	php-pear-PEAR
 BuildRequires:	rpm-php-pearprov >= 4.4.2-11
-BuildRequires:	rpmbuild(macros) >= 1.300
+BuildRequires:	rpmbuild(macros) >= 1.654
 Requires:	php(core) >= 4.3.0
 Requires:	php(sockets)
 Requires:	php-pear
@@ -24,7 +24,7 @@ BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 # exclude optional dependencies
-%define		_noautoreq	'pear(Net/IPv4.*)' 'pear(Log.*)'
+%define		_noautoreq_pear Net/IPv4.* Log.*
 
 %description
 Aims to provide a thight and robust OO API to PHPs socket extension
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-pear-System_Socket.git/commitdiff/bbc58ffcd85ffe784f947fa3ed1715fe09e3bdd6



More information about the pld-cvs-commit mailing list