From 5af2df5940e41744cd493402b8cd31f05edd4c47 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 5 Jun 2015 16:02:10 +0200 Subject: php-phpunit-DbUnit: disable test suite on EL-5 --- php-phpunit-DbUnit.spec | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'php-phpunit-DbUnit.spec') 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 - 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 - 1.3.2-1 - update to 1.3.2 -- cgit