add compatibility for el6

This commit is contained in:
Björn Esser 2016-08-23 14:48:19 +02:00
parent 82b4873ab4
commit 01775a1307

View File

@ -314,10 +314,16 @@ EOF
%check %check
%if 0%{?rhel} && 0%{?rhel} <= 6
mv -f Modules/FindLibArchive.cmake Modules/FindLibArchive.disabled
%endif
pushd build pushd build
#CMake.FileDownload, and CTestTestUpload require internet access #CMake.FileDownload, and CTestTestUpload require internet access
bin/ctest%{?name_suffix} -V -E 'CMake.FileDownload|CTestTestUpload' %{?_smp_mflags} bin/ctest%{?name_suffix} -V -E 'CMake.FileDownload|CTestTestUpload' %{?_smp_mflags}
popd popd
%if 0%{?rhel} && 0%{?rhel} <= 6
mv -f Modules/FindLibArchive.disabled Modules/FindLibArchive.cmake
%endif
%if %{with gui} %if %{with gui}