summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-symfony2-Translation.spec5
1 files changed, 4 insertions, 1 deletions
diff --git a/php-symfony2-Translation.spec b/php-symfony2-Translation.spec
index e3a7c80..68c37b3 100644
--- a/php-symfony2-Translation.spec
+++ b/php-symfony2-Translation.spec
@@ -97,7 +97,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