[packages/php-pear-PEAR] BR deps for current php

glen glen at pld-linux.org
Wed May 14 18:30:38 CEST 2014


commit 4754372c3cbf9d66329a5069ebf2fab799c0c9e8
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed May 14 19:30:32 2014 +0300

    BR deps for current php

 php-pear-PEAR.spec | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/php-pear-PEAR.spec b/php-pear-PEAR.spec
index f665ce7..c2fbc24 100644
--- a/php-pear-PEAR.spec
+++ b/php-pear-PEAR.spec
@@ -6,6 +6,7 @@
 #
 %define		_pearname	PEAR
 %define		_status		stable
+%define		php_name	php%{?php_suffix}
 %define		php_min_version 5.0.0
 %include	/usr/lib/rpm/macros.php
 Summary:	PEAR Base System
@@ -26,9 +27,9 @@ Patch0:		%{name}-sysconfdir.patch
 Patch1:		ext-check.patch
 Patch2:		%{name}-FHS.patch
 URL:		http://pear.php.net/package/PEAR
+BuildRequires:	%{php_name}-pcre
+BuildRequires:	%{php_name}-xml
 BuildRequires:	/usr/bin/php
-BuildRequires:	php-pcre
-BuildRequires:	php-xml
 BuildRequires:	rpm-php-pearprov >= 4.4.2-30.1
 BuildRequires:	rpmbuild(macros) >= 1.654
 Requires:	%{name}-core = %{epoch}:%{version}-%{release}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-pear-PEAR.git/commitdiff/4754372c3cbf9d66329a5069ebf2fab799c0c9e8



More information about the pld-cvs-commit mailing list