SHA256
1
0
forked from pool/openexr
Petr Gajdos 2019-10-07 14:52:03 +00:00 committed by Git OBS Bridge
parent 785a2402db
commit a88ef0d8d1

View File

@ -141,11 +141,13 @@ make %{?_smp_mflags}
%cmake_install %cmake_install
%check %check
%ifarch x86_64
# 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 "set_tests_properties(OpenEXR.IlmImf PROPERTIES TIMEOUT 3000)" >> IlmImfTest/CMakeLists.txt echo "set_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