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

glen glen at pld-linux.org
Wed May 14 20:13:16 CEST 2014


commit 40567c148dcee578a5d351e6d08751e5f53a3e90
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed May 14 21:13:15 2014 +0300

    use rpm4/rpm5 compatible _noautoreq pear

 php-pear-Validate_FR.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/php-pear-Validate_FR.spec b/php-pear-Validate_FR.spec
index 834d989..c0af02a 100644
--- a/php-pear-Validate_FR.spec
+++ b/php-pear-Validate_FR.spec
@@ -13,7 +13,7 @@ Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
 URL:		http://pear.php.net/package/Validate_FR/
 BuildRequires:	php-pear-PEAR >= 1:1.7.0
 BuildRequires:	rpm-php-pearprov >= 4.4.2-11
-BuildRequires:	rpmbuild(macros) >= 1.300
+BuildRequires:	rpmbuild(macros) >= 1.654
 Requires:	php(core) >= 4.2.0
 Requires:	php-pear
 Requires:	php-pear-Validate >= 0.6.2
@@ -21,7 +21,7 @@ Obsoletes:	php-pear-Validate_FR-tests
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define		_noautoreq	'pear(FR_insee_country_codes.php)'
+%define		_noautoreq_pear FR_insee_country_codes.php
 
 %description
 Package containes locale validation for FR such as:
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-pear-Validate_FR.git/commitdiff/40567c148dcee578a5d351e6d08751e5f53a3e90



More information about the pld-cvs-commit mailing list