diff --git a/tbb.changes b/tbb.changes index 11b31f1..1ed1f5e 100644 --- a/tbb.changes +++ b/tbb.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Tue Apr 5 14:34:05 UTC 2022 - Atri Bhattacharya + +- For 32-bit systems, rename tbb32.pc (default upstream for + 32-bit) to tbb.pc (same as 64-bit) so that applications + depending on tbb do not have to call different pkgconfig modules + based on arch. + ------------------------------------------------------------------- Fri Oct 8 08:11:54 UTC 2021 - Ben Greiner diff --git a/tbb.spec b/tbb.spec index 19bb185..ad985a0 100644 --- a/tbb.spec +++ b/tbb.spec @@ -223,6 +223,10 @@ popd # we install it into the devel package docdir rm -r %{buildroot}%{_datadir}/doc/TBB +# Rename tbb32.pc to tbb.pc (same as 64-bit) so that applications depending on tbb +# do not have to call different pkgconfig modules based on arch +test -f %{buildroot}%{_libdir}/pkgconfig/tbb32.pc && mv %{buildroot}%{_libdir}/pkgconfig/tbb32.pc %{buildroot}%{_libdir}/pkgconfig/tbb.pc + %check %if %{with test} %ctest --exclude-regex python_test @@ -262,7 +266,7 @@ popd %{_includedir}/tbb/ %{_includedir}/oneapi/ %{_libdir}/cmake/TBB -%{_libdir}/pkgconfig/tbb*.pc +%{_libdir}/pkgconfig/tbb.pc %{_libdir}/libtbb.so %{_libdir}/libtbbmalloc.so %{_libdir}/libtbbmalloc_proxy.so