summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2013-03-06 10:25:48 +0100
committerRemi Collet <fedora@famillecollet.com>2013-03-06 10:25:48 +0100
commit174111b2efa0223410bd6fd512bb7e63f23f3eda (patch)
tree99422be7872451d93707f4b29be53f88ccc9ce87
parentd46602504193fcecd967dd0d5271cd05647fea84 (diff)
php-symfony2-Translation: no test in EL-5
-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