forked from pool/openexr
This commit is contained in:
parent
785a2402db
commit
a88ef0d8d1
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user