From 01775a1307d3cd0809dd9dc1620325fe6dd15ee0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= Date: Tue, 23 Aug 2016 14:48:19 +0200 Subject: [PATCH] add compatibility for el6 --- cmake.spec | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cmake.spec b/cmake.spec index 5e4740d..2b02186 100644 --- a/cmake.spec +++ b/cmake.spec @@ -314,10 +314,16 @@ EOF %check +%if 0%{?rhel} && 0%{?rhel} <= 6 +mv -f Modules/FindLibArchive.cmake Modules/FindLibArchive.disabled +%endif pushd build #CMake.FileDownload, and CTestTestUpload require internet access bin/ctest%{?name_suffix} -V -E 'CMake.FileDownload|CTestTestUpload' %{?_smp_mflags} popd +%if 0%{?rhel} && 0%{?rhel} <= 6 +mv -f Modules/FindLibArchive.disabled Modules/FindLibArchive.cmake +%endif %if %{with gui}