summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2013-03-10 09:05:55 +0100
committerRemi Collet <fedora@famillecollet.com>2013-03-10 09:05:55 +0100
commit75590fa9b6db0bc725145bd81545998236ec372c (patch)
tree92c670584c7d0dd017e2dea4aa43343ea9653add
parentedcff4925aa9318ba5a7e429d7ce8667330c0a02 (diff)
php-symfony2-HttpKernel Requires: php-PsrLog
-rw-r--r--php-symfony2-HttpKernel.spec11
1 files changed, 9 insertions, 2 deletions
diff --git a/php-symfony2-HttpKernel.spec b/php-symfony2-HttpKernel.spec
index 6f633fe..b41a2b0 100644
--- a/php-symfony2-HttpKernel.spec
+++ b/php-symfony2-HttpKernel.spec
@@ -8,7 +8,7 @@
Name: php-symfony2-HttpKernel
Version: 2.2.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Symfony2 %{pear_name} Component
Group: Development/Libraries
@@ -24,6 +24,7 @@ BuildRequires: php-channel(%{pear_channel})
# Test requires
BuildRequires: php(language) >= %{php_min_ver}
BuildRequires: php-pear(pear.phpunit.de/PHPUnit)
+BuildRequires: php-PsrLog >= 1.0.0
BuildRequires: php-pear(%{pear_channel}/BrowserKit) >= 2.2.0
BuildRequires: php-pear(%{pear_channel}/ClassLoader) >= 2.2.0
BuildRequires: php-pear(%{pear_channel}/Config) >= 2.2.0
@@ -50,6 +51,7 @@ BuildRequires: php-tokenizer
Requires: php(language) >= %{php_min_ver}
Requires: php-pear(PEAR)
Requires: php-channel(%{pear_channel})
+Requires: php-PsrLog >= 1.0.0
Requires: php-pear(%{pear_channel}/EventDispatcher) >= 2.2.0
Requires: php-pear(%{pear_channel}/HttpFoundation) >= 2.2.0
Requires(post): %{__pear}
@@ -126,7 +128,9 @@ sed -e '/bootstrap/s:vendor/autoload.php:%{pear_phpdir}/Symfony/Component/%{pear
%check
%if %{with_tests}
-cd %{pear_name}-%{version}/Symfony/Component/%{pear_name}
+cd %{pear_name}-%{version}
+ln -s /usr/share/php/Psr Psr
+cd Symfony/Component/%{pear_name}
sed -e '/bootstrap/s:vendor/autoload.php:autoloader.php:' \
phpunit.xml.dist > phpunit.xml
%{_bindir}/phpunit -d date.timezone=UTC
@@ -156,6 +160,9 @@ fi
%changelog
+* Sun Mar 10 2013 Remi Collet <remi@fedoraproject.org> - 2.2.0-2
+- add Requires: php-PsrLog
+
* Wed Mar 06 2013 Remi Collet <remi@fedoraproject.org> - 2.2.0-1
- Update to 2.2.0