summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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