summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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