Ismail Dönmez 2019-04-25 08:32:12 +00:00 committed by Git OBS Bridge
parent d273a8cc70
commit fed90f902d

View File

@ -163,8 +163,8 @@ mkdir -p %{buildroot}%{_libdir}/cmake/TBB
cmake -DTBB_ROOT=. -DTBB_OS=Linux -DSAVE_TO=. -P cmake/tbb_config_generator.cmake cmake -DTBB_ROOT=. -DTBB_OS=Linux -DSAVE_TO=. -P cmake/tbb_config_generator.cmake
# Fix library path # Fix library path
sed -i s,"get_filename_component(_tbb_lib_path.*","get_filename_component(_tbb_lib_path %{_libdir} ABSOLUTE)", TBBConfig.cmake sed -i s,"get_filename_component(_tbb_lib_path.*","get_filename_component(_tbb_lib_path %{_libdir} ABSOLUTE)", TBBConfig.cmake
install -m 0644 TBBConfig.cmake %{buildroot}%{_libdir}/cmake/TBB install -pm 0644 TBBConfig.cmake %{buildroot}%{_libdir}/cmake/TBB
install -m 0644 TBBConfigVersion.cmake %{buildroot}%{_libdir}/cmake/TBB install -pm 0644 TBBConfigVersion.cmake %{buildroot}%{_libdir}/cmake/TBB
%if %{with python2} %if %{with python2}
pushd python pushd python