[packages/ZendFramework] disable PEAR dependency solving in requirements, but still do Provide them

glen glen at pld-linux.org
Wed Apr 29 17:16:38 CEST 2015


commit 15178bf94ebf39ab65252c2bc1534e930ee6c29d
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Apr 29 18:16:11 2015 +0300

    disable PEAR dependency solving in requirements, but still do Provide them

 ZendFramework.spec | 5 +++++
 1 file changed, 5 insertions(+)
---
diff --git a/ZendFramework.spec b/ZendFramework.spec
index bc836fc..2c8a133 100644
--- a/ZendFramework.spec
+++ b/ZendFramework.spec
@@ -9,6 +9,7 @@
 # - check Zend/Pdf/FileParser/Image/Jpeg.php and Zend/Pdf/FileParser/Image/Tiff.php
 #   presence in Zend/Pdf/Image.php after update [not implemented in 1.10.2)
 %define		php_min_version 5.2.11
+%include	/usr/lib/rpm/macros.php
 Summary:	Zend Framework
 Summary(pl.UTF-8):	Szkielet Zend
 Name:		ZendFramework
@@ -25,6 +26,7 @@ Patch0:		%{name}-additional-locales.patch
 Patch1:		%{name}-deps.patch
 URL:		http://framework.zend.com/manual/1.12/en/manual.html
 BuildRequires:	/usr/bin/php
+BuildRequires:	rpm-php-pearprov >= 4.4.2-11
 BuildRequires:	rpmbuild(macros) >= 1.654
 BuildRequires:	sed >= 4.0
 Requires:	php(core) >= %{php_min_version}
@@ -34,6 +36,9 @@ Obsoletes:	ZendFramework-doc
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+# disable PEAR dependency solving in requirements, while we still do Provide them
+%define		_noautoreq_pear Zend/.*
+
 # exclude optional php dependencies
 %define		_noautophp	php-oci8 php-bitset
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ZendFramework.git/commitdiff/15178bf94ebf39ab65252c2bc1534e930ee6c29d



More information about the pld-cvs-commit mailing list