From 8932446be79e067aacdfec371ae2e9046ecfcc18 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sat, 19 Oct 2013 08:03:07 +0200 Subject: symfony2: cleanups (dep from composer) --- php-symfony2-Debug.spec | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/php-symfony2-Debug.spec b/php-symfony2-Debug.spec index 443e112..6f67317 100644 --- a/php-symfony2-Debug.spec +++ b/php-symfony2-Debug.spec @@ -5,9 +5,6 @@ %global pear_name Debug %global php_min_ver 5.3.3 -%global symfony_min_ver 2.1 -%global symfony_max_ver 3.0 - Name: php-symfony2-%{pear_name} Version: 2.3.6 Release: 1%{?dist} @@ -26,10 +23,8 @@ BuildRequires: php-channel(%{pear_channel}) # For tests BuildRequires: php-common >= %{php_min_ver} BuildRequires: php-pear(pear.phpunit.de/PHPUnit) -BuildRequires: php-pear(%{pear_channel}/HttpFoundation) >= %{symfony_min_ver} -BuildRequires: php-pear(%{pear_channel}/HttpFoundation) < %{symfony_max_ver} -BuildRequires: php-pear(%{pear_channel}/HttpKernel) >= %{symfony_min_ver} -BuildRequires: php-pear(%{pear_channel}/HttpKernel) < %{symfony_max_ver} +BuildRequires: php-pear(%{pear_channel}/HttpFoundation) > 2.1 +BuildRequires: php-pear(%{pear_channel}/HttpKernel) > 2.1 # For tests: phpci BuildRequires: php-reflection BuildRequires: php-spl @@ -43,12 +38,9 @@ Requires(postun): %{__pear} Requires: php-reflection Requires: php-spl # Optional -Requires: php-pear(%{pear_channel}/ClassLoader) >= %{symfony_min_ver} -Requires: php-pear(%{pear_channel}/ClassLoader) < %{symfony_max_ver} -Requires: php-pear(%{pear_channel}/HttpFoundation) >= %{symfony_min_ver} -Requires: php-pear(%{pear_channel}/HttpFoundation) < %{symfony_max_ver} -Requires: php-pear(%{pear_channel}/HttpKernel) >= %{symfony_min_ver} -Requires: php-pear(%{pear_channel}/HttpKernel) < %{symfony_max_ver} +Requires: php-pear(%{pear_channel}/ClassLoader) +Requires: php-pear(%{pear_channel}/HttpFoundation) > 2.1 +Requires: php-pear(%{pear_channel}/HttpKernel) > 2.1 Provides: php-pear(%{pear_channel}/%{pear_name}) = %{version} -- cgit