From e9d34fcd0cfadb031b45e9b299d54697a76e49a1 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 7 May 2015 08:24:04 +0200 Subject: libzip: disable test suite on EL-5 (perl is too old) --- libzip.spec | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libzip.spec') 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 -- cgit