From cf0bf177809df55674f21b469678644eeddec3ac Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 30 Oct 2012 17:26:00 +0100 Subject: php-symfony2-Config: sync with rawhide, update to 2.1.3 --- php-symfony2-Yaml.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/php-symfony2-Yaml.spec b/php-symfony2-Yaml.spec index 08cf2fe..ae6f8d0 100644 --- a/php-symfony2-Yaml.spec +++ b/php-symfony2-Yaml.spec @@ -22,7 +22,7 @@ BuildArch: noarch BuildRequires: php-pear(PEAR) BuildRequires: php-channel(%{pear_channel}) # Test requires -BuildRequires: php-common >= %{php_min_ver} +BuildRequires: php(language) >= %{php_min_ver} BuildRequires: php-pear(pear.phpunit.de/PHPUnit) # Test requires: phpci BuildRequires: php-ctype @@ -112,7 +112,8 @@ cd %{pear_name}-%{version}/Symfony/Component/%{pear_name} %postun if [ $1 -eq 0 ] ; then - %{__pear} uninstall --nodeps --ignore-errors --register-only \ + %{__pear} uninstalBuildRequires: php(language) >= %{php_min_ver} +l --nodeps --ignore-errors --register-only \ %{pear_channel}/%{pear_name} >/dev/null || : fi -- cgit