Accepting request 967152 from home:badshah400:branches:devel:libraries:c_c++

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.

OBS-URL: https://build.opensuse.org/request/show/967152
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/tbb?expand=0&rev=71
This commit is contained in:
Jan Engelhardt 2022-04-09 16:16:03 +00:00 committed by Git OBS Bridge
parent 5054a0acde
commit 73a44bbacc
2 changed files with 13 additions and 1 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Tue Apr 5 14:34:05 UTC 2022 - Atri Bhattacharya <badshah400@gmail.com>
- 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 <code@bnavigator.de>

View File

@ -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