Accepting request 1136092 from devel:libraries:c_c++

OBS-URL: https://build.opensuse.org/request/show/1136092
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/spdlog?expand=0&rev=32
This commit is contained in:
Dominique Leuenberger 2024-01-03 11:23:03 +00:00 committed by Git OBS Bridge
commit 73aef3e021
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Dec 30 16:58:29 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
- Update symbol versioning pattern to actually match symbols
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Dec 14 09:47:07 UTC 2023 - Jan Engelhardt <jengelh@inai.de> Thu Dec 14 09:47:07 UTC 2023 - Jan Engelhardt <jengelh@inai.de>

View File

@ -79,8 +79,8 @@ export CXX=g++
test -x "$(type -p g++-8)" && export CXX=g++-8 test -x "$(type -p g++-8)" && export CXX=g++-8
# spdlog embodies fmt ABI; add some symvers so both ld.so and rpm notice the change. # spdlog embodies fmt ABI; add some symvers so both ld.so and rpm notice the change.
v=$(rpm -q --qf="%%{VERSION}" --whatprovides "pkgconfig(fmt)" | sed -e 's/\..*//') v=v$(rpm -q --qf="%%{VERSION}" --whatprovides "pkgconfig(fmt)" | sed -e 's/\..*//')
echo "FMT_$v { global: _ZN6spdlog*N3fmt${#v}v${v}; };" >spdlog.sym echo "FMT_$v { global: _ZN6spdlog*N3fmt${#v}${v}*; };" >spdlog.sym
v="$PWD/spdlog.sym" v="$PWD/spdlog.sym"
%cmake -G Ninja \ %cmake -G Ninja \