From 83e25ed104d768777dfc1c46621bec6f97278e8e Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 11 Mar 2016 14:08:23 +0100 Subject: no test suite on EL-5 --- php-sabre-xml.spec | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'php-sabre-xml.spec') diff --git a/php-sabre-xml.spec b/php-sabre-xml.spec index fa43c51..deb82dc 100644 --- a/php-sabre-xml.spec +++ b/php-sabre-xml.spec @@ -10,7 +10,12 @@ %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner fruux %global gh_project sabre-xml +%if 0%{?rhel} == 5 +# Libxml seems too old +%global with_tests 0%{?_with_tests:1} +%else %global with_tests 0%{!?_without_tests:1} +%endif Name: php-%{gh_project} Summary: XML library that you may not hate -- cgit