summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2013-10-19 08:03:07 +0200
committerRemi Collet <fedora@famillecollet.com>2013-10-19 08:03:07 +0200
commit5e74676a3ab48681701933072529828f4ff30ec4 (patch)
tree25bcdb0ef95756177c95f6230d66fa428b423048
parent3fe2f158273a22fbbaf0f97800cea7dcf44accb8 (diff)
symfony2: cleanups (dep from composer)HEADmaster
-rw-r--r--php-symfony2-Validator.spec25
1 files changed, 13 insertions, 12 deletions
diff --git a/php-symfony2-Validator.spec b/php-symfony2-Validator.spec
index 35772cf..87eb426 100644
--- a/php-symfony2-Validator.spec
+++ b/php-symfony2-Validator.spec
@@ -24,12 +24,12 @@ BuildRequires: php-channel(%{pear_channel})
# For tests
BuildRequires: php(language) >= %{php_min_ver}
BuildRequires: php-pear(pear.phpunit.de/PHPUnit)
-BuildRequires: php-pear(%{pear_channel}/Config) >= 2.2.0
-BuildRequires: php-pear(%{pear_channel}/HttpFoundation) >= 2.2.0
-BuildRequires: php-pear(%{pear_channel}/Locale) >= 2.2.0
-BuildRequires: php-pear(%{pear_channel}/Translation) >= 2.2.0
-BuildRequires: php-pear(%{pear_channel}/Yaml) >= 2.2.0
-BuildRequires: php-pear(pear.doctrine-project.org/DoctrineCommon) >= 2.2.0
+BuildRequires: php-pear(%{pear_channel}/Config) > 2.2
+BuildRequires: php-pear(%{pear_channel}/HttpFoundation) > 2.1
+BuildRequires: php-pear(%{pear_channel}/Intl) > 2.3
+BuildRequires: php-pear(%{pear_channel}/Translation) > 2.0
+BuildRequires: php-pear(%{pear_channel}/Yaml) > 2.0
+BuildRequires: php-pear(pear.doctrine-project.org/DoctrineCommon)
# For tests: phpci
BuildRequires: php-ctype
BuildRequires: php-date
@@ -61,12 +61,13 @@ Requires: php-reflection
Requires: php-simplexml
Requires: php-spl
Requires: php-filter
+Requires: php-pear(%{pear_channel}/Translation) > 2.0
# Optional
-Requires: php-pear(%{pear_channel}/Config) >= 2.2.0
-Requires: php-pear(%{pear_channel}/HttpFoundation) >= 2.2.0
-Requires: php-pear(%{pear_channel}/Locale) >= 2.2.0
-Requires: php-pear(%{pear_channel}/Yaml) >= 2.2.0
-Requires: php-pear(pear.doctrine-project.org/DoctrineCommon) >= 2.2.0
+Requires: php-pear(%{pear_channel}/Config) > 2.2
+Requires: php-pear(%{pear_channel}/HttpFoundation) > 2.1
+Requires: php-pear(%{pear_channel}/Intl) > 2.3
+Requires: php-pear(%{pear_channel}/Yaml) > 2.0
+Requires: php-pear(pear.doctrine-project.org/DoctrineCommon)
Provides: php-pear(%{pear_channel}/%{pear_name}) = %{version}
@@ -143,7 +144,7 @@ install -pm 0644 ../phpunit.autoloader.php \
%check
cd %{pear_name}-%{version}/Symfony/Component/%{pear_name}
-sed 's#./phpunit.autoloader.php#./autoloader.php#' -i phpunit.xml.dist
+cp ../../../../phpunit.autoloader.php .
%if %{with_tests}
%{_bindir}/phpunit \