Accepting request 968030 from devel:libraries:c_c++

OBS-URL: https://build.opensuse.org/request/show/968030
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tbb?expand=0&rev=25
This commit is contained in:
Dominique Leuenberger 2022-04-11 22:13:50 +00:00 committed by Git OBS Bridge
commit 1347e15b68
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