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:
parent
5054a0acde
commit
73a44bbacc
@ -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>
|
||||
|
||||
|
6
tbb.spec
6
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user