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

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


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

    use rpm4/rpm5 compatible _noautoreq pear

 php-pear-PHP_Parser.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/php-pear-PHP_Parser.spec b/php-pear-PHP_Parser.spec
index e707fec..178410d 100644
--- a/php-pear-PHP_Parser.spec
+++ b/php-pear-PHP_Parser.spec
@@ -13,7 +13,7 @@ Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
 URL:		http://pear.php.net/package/PHP_Parser/
 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-pear >= 4:1.0-7
 Suggests:	php-pear-PHP_Parser_DocblockParser
@@ -22,7 +22,7 @@ BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 # exclude optional dependencies
-%define		_noautoreq	pear(PHP/Parser/DocblockParser.*)
+%define		_noautoreq_pear PHP/Parser/DocblockParser.*
 
 %description
 PHP_Parser is a source code analysis tool based around a real Parser
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-pear-PHP_Parser.git/commitdiff/852c1b7e6134fbc045d725b2660a9a4604ccd99d



More information about the pld-cvs-commit mailing list