summaryrefslogtreecommitdiffstats
path: root/libzip.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-05-07 08:24:04 +0200
committerRemi Collet <fedora@famillecollet.com>2015-05-07 08:24:04 +0200
commite9d34fcd0cfadb031b45e9b299d54697a76e49a1 (patch)
treecc6ec645b7728d28dcec128e2990b37156146755 /libzip.spec
parent45ce7696f386d74facb55ee8f95fc07e830b8188 (diff)
libzip: disable test suite on EL-5 (perl is too old)
Diffstat (limited to 'libzip.spec')
-rw-r--r--libzip.spec5
1 files changed, 5 insertions, 0 deletions
diff --git a/libzip.spec b/libzip.spec
index 98655a5..7b0b61d 100644
--- a/libzip.spec
+++ b/libzip.spec
@@ -1,10 +1,15 @@
%global multilib_archs x86_64 %{ix86} ppc64 ppc s390x s390 sparc64 sparcv9
%global libname libzip
+%if 0%{?rhel} == 5
+# Perl is too old
+%global with_tests 0
+%else
%if %{?runselftest}%{!?runselftest:1}
%global with_tests %{?_without_tests:0}%{!?_without_tests:1}
%else
%global with_tests %{?_with_tests:1}%{!?_with_tests:0}
%endif
+%endif
%if 0%{?fedora} < 23
Name: %{libname}-last