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

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


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

    use rpm4/rpm5 compatible _noautoreq pear

 php-pear-PhpDocumentor.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/php-pear-PhpDocumentor.spec b/php-pear-PhpDocumentor.spec
index 16fda47..2636007 100644
--- a/php-pear-PhpDocumentor.spec
+++ b/php-pear-PhpDocumentor.spec
@@ -21,7 +21,7 @@ Patch0:		%{name}-smarty.patch
 URL:		http://pear.php.net/package/PhpDocumentor/
 BuildRequires:	php-pear-PEAR >= 1:1.4.6
 BuildRequires:	rpm-php-pearprov >= 4.4.2-10.2
-BuildRequires:	rpmbuild(macros) >= 1.593
+BuildRequires:	rpmbuild(macros) >= 1.654
 Requires:	Smarty >= 2.6.10-4
 Requires:	php(core) >= %{php_min_version}
 Requires:	php(pcre)
@@ -37,7 +37,7 @@ BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 # exclude optional dependencies
 # don't require %{php_pear_dir}/data files we provide.
-%define		_noautoreq	pear(phpDocumentor/.*) pear(%{php_pear_dir}/data/.*) pear(XML/Beautifier/.*) pear(HTML_TreeMenu-1.1.2/TreeMenu.php)
+%define		_noautoreq_pear phpDocumentor/.* %{php_pear_dir}/data/.* XML/Beautifier/.* HTML_TreeMenu-1.1.2/TreeMenu.php .*/phpDocumentor/common.inc.php
 
 %description
 The phpDocumentor tool is a standalone auto-documentor similar to
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-pear-PhpDocumentor.git/commitdiff/d77a98ffb271d176c64a4fb79ec77bb180678d5e



More information about the pld-cvs-commit mailing list