diff --git a/tbb.spec b/tbb.spec index e69ba46..0992ea8 100644 --- a/tbb.spec +++ b/tbb.spec @@ -163,8 +163,8 @@ mkdir -p %{buildroot}%{_libdir}/cmake/TBB cmake -DTBB_ROOT=. -DTBB_OS=Linux -DSAVE_TO=. -P cmake/tbb_config_generator.cmake # Fix library path 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 -m 0644 TBBConfigVersion.cmake %{buildroot}%{_libdir}/cmake/TBB +install -pm 0644 TBBConfig.cmake %{buildroot}%{_libdir}/cmake/TBB +install -pm 0644 TBBConfigVersion.cmake %{buildroot}%{_libdir}/cmake/TBB %if %{with python2} pushd python