Petr Gajdos 2019-10-07 10:43:54 +00:00 committed by Git OBS Bridge
parent 666a112cb7
commit 8948f368a2

View File

@ -141,13 +141,11 @@ make %{?_smp_mflags}
%cmake_install %cmake_install
%check %check
%if 0
# tests takes LOONG, e. g. 20 min, in obs even more that # tests takes LOONG, e. g. 20 min, in obs even more that
# exceed timeout limit 25 min # exceed timeout limit 25 min
echo "\nset_tests_properties(OpenEXR.IlmImf PROPERTIES TIMEOUT 3000)" >> IlmImfTest/CMakeLists.txt echo "\nset_tests_properties(OpenEXR.IlmImf PROPERTIES TIMEOUT 3000)" >> IlmImfTest/CMakeLists.txt
export LD_LIBRARY_PATH="$PWD/build/IlmImf:$PWD/build/IlmImfUtil:$LD_LIBRARY_PATH" export LD_LIBRARY_PATH="$PWD/build/IlmImf:$PWD/build/IlmImfUtil:$LD_LIBRARY_PATH"
%ctest %ctest
%endif
%post -n libIlmImf%{so_suffix}-%{sonum} -p /sbin/ldconfig %post -n libIlmImf%{so_suffix}-%{sonum} -p /sbin/ldconfig
%postun -n libIlmImf%{so_suffix}-%{sonum} -p /sbin/ldconfig %postun -n libIlmImf%{so_suffix}-%{sonum} -p /sbin/ldconfig