summaryrefslogtreecommitdiffstats
path: root/php-sabre-xml.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-03-11 14:08:23 +0100
committerRemi Collet <fedora@famillecollet.com>2016-03-11 14:08:23 +0100
commit83e25ed104d768777dfc1c46621bec6f97278e8e (patch)
treee66a2cc7a40eae890bdfc36b78476d527a568c10 /php-sabre-xml.spec
parent7c31fc967024859243411483ea5617b85ec7e40f (diff)
no test suite on EL-5
Diffstat (limited to 'php-sabre-xml.spec')
-rw-r--r--php-sabre-xml.spec5
1 files changed, 5 insertions, 0 deletions
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