From: Elan Ruusamäe Date: Wed, 29 Apr 2015 15:16:11 +0000 (+0300) Subject: disable PEAR dependency solving in requirements, but still do Provide them X-Git-Tag: auto/th/ZendFramework-1.12.11-1~4 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=15178bf94ebf39ab65252c2bc1534e930ee6c29d;p=packages%2FZendFramework.git disable PEAR dependency solving in requirements, but still do Provide them --- 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