summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-06-05 16:02:10 +0200
committerRemi Collet <fedora@famillecollet.com>2015-06-05 16:02:10 +0200
commit5af2df5940e41744cd493402b8cd31f05edd4c47 (patch)
tree29e7a3f9a26bb95867803376318615ee60f4860c
parent041362889e69d12b30901a5a81cf3f0bcb2053ae (diff)
php-phpunit-DbUnit: disable test suite on EL-5
-rw-r--r--php-phpunit-DbUnit.spec6
1 files changed, 6 insertions, 0 deletions
diff --git a/php-phpunit-DbUnit.spec b/php-phpunit-DbUnit.spec
index c931548..5aa34a4 100644
--- a/php-phpunit-DbUnit.spec
+++ b/php-phpunit-DbUnit.spec
@@ -13,7 +13,12 @@
%global php_home %{_datadir}/php
%global pear_name DbUnit
%global pear_channel pear.phpunit.de
+%if 0%{?rhel} == 5
+# libxml is too old for LIBXML_PARSEHUGE used in tests
+%global with_tests %{?_with_tests:1}%{!?_with_tests:0}
+%else
%global with_tests %{?_without_tests:0}%{!?_without_tests:1}
+%endif
Name: php-phpunit-DbUnit
Version: 1.4.0
@@ -118,6 +123,7 @@ fi
* Fri Jun 5 2015 Remi Collet <remi@fedoraproject.org> - 1.4.0-1
- update to 1.3.2
- raise dependency on PHPUnit 4.0
+- disable test suite on EL-5
* Sun Mar 29 2015 Remi Collet <remi@fedoraproject.org> - 1.3.2-1
- update to 1.3.2