[packages/php-symfony] fix noautoreq to work with rpm5
glen
glen at pld-linux.org
Mon Nov 30 09:40:40 CET 2015
commit eb9c98f48a0ddba3cba8edc6d20c64b74a20569f
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Mon Nov 30 10:40:29 2015 +0200
fix noautoreq to work with rpm5
php-symfony.spec | 11 ++---------
1 file changed, 2 insertions(+), 9 deletions(-)
---
diff --git a/php-symfony.spec b/php-symfony.spec
index 58dfd91..fca09ae 100644
--- a/php-symfony.spec
+++ b/php-symfony.spec
@@ -15,7 +15,7 @@ Source0: http://www.symfony-project.org/get/symfony-%{version}.tgz
# Source0-md5: 3c3640ffbab023a1a8f78e0cbb554c10
Patch0: symfony1.4_php56.patch
URL: http://www.symfony-project.org/
-BuildRequires: rpmbuild(macros) >= 1.461
+BuildRequires: rpmbuild(macros) >= 1.654
Requires: Smarty
Requires: php(core) >= %{php_min_version}
Requires: php(ctype)
@@ -25,14 +25,7 @@ Requires: php-pear-PEAR-core
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-# bad depsolver
-%define _noautopear pear(Doctrine/.*) pear(PHPUnit/.*) pear(PHPUnit2/.*) pear(phing/.*) pear(propel/.*) pear(simpletest/.*)
-
-# exclude optional php dependencies
-%define _noautophp %{nil}
-
-# put it together for rpmbuild
-%define _noautoreq %{?_noautophp} %{?_noautopear}
+%define _noautoreq_pear Doctrine/.* PHPUnit/.* PHPUnit2/.* phing/.* propel/.* simpletest/.*
%description
Based on the best practices of web development, thoroughly tried on
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php-symfony.git/commitdiff/eb9c98f48a0ddba3cba8edc6d20c64b74a20569f
More information about the pld-cvs-commit
mailing list