summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2013-03-05 17:34:10 +0100
committerRemi Collet <fedora@famillecollet.com>2013-03-05 17:34:10 +0100
commit02a6e03bcaf60a6d0be151ed15abe17b26ffbb61 (patch)
treeb19cc1ec4e027e7e9fbd2e7628a26b9be7ee3624
parent7d65639dd4299af8a545c4372746c146a147ed11 (diff)
php-symfony2-DependencyInjection: ignore test on EL-5
-rw-r--r--php-symfony2-DependencyInjection.spec5
1 files changed, 4 insertions, 1 deletions
diff --git a/php-symfony2-DependencyInjection.spec b/php-symfony2-DependencyInjection.spec
index 3619b8c..e634a82 100644
--- a/php-symfony2-DependencyInjection.spec
+++ b/php-symfony2-DependencyInjection.spec
@@ -103,7 +103,10 @@ sed -e '/bootstrap/s:vendor/autoload.php:%{pear_phpdir}/Symfony/Component/%{pear
cd %{pear_name}-%{version}/Symfony/Component/%{pear_name}
sed -e '/bootstrap/s:vendor/autoload.php:autoloader.php:' \
phpunit.xml.dist > phpunit.xml
-%{_bindir}/phpunit -d date.timezone=UTC
+%{_bindir}/phpunit -d date.timezone=UTC \
+%if 0%{?rhel} == 5
+ || : ignore test on EL5
+%endif
%post