add compatibility for el6
This commit is contained in:
parent
82b4873ab4
commit
01775a1307
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user