]> git.pld-linux.org Git - packages/ZendFramework.git/commitdiff
disable PEAR dependency solving in requirements, but still do Provide them
authorElan Ruusamäe <glen@delfi.ee>
Wed, 29 Apr 2015 15:16:11 +0000 (18:16 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Wed, 29 Apr 2015 15:16:11 +0000 (18:16 +0300)
ZendFramework.spec

index bc836fc11975293ac43b1e5c25ca80e15f31a6b7..2c8a13350ae56e9d700f55cd39e97fca2b25c201 100644 (file)
@@ -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
 
This page took 0.048089 seconds and 4 git commands to generate.