]> git.pld-linux.org Git - packages/php-symfony.git/commitdiff
fix noautoreq to work with rpm5
authorElan Ruusamäe <glen@delfi.ee>
Mon, 30 Nov 2015 08:40:29 +0000 (10:40 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Mon, 30 Nov 2015 08:40:29 +0000 (10:40 +0200)
php-symfony.spec

index 58dfd9154197f6de9e03fd2f9f003409fe2849c6..fca09ae92acfba85d3c34db37cf1386bbdf6e1a6 100644 (file)
@@ -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
This page took 0.125461 seconds and 4 git commands to generate.