diff --git a/spdlog.changes b/spdlog.changes index 945adee..d95889a 100644 --- a/spdlog.changes +++ b/spdlog.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Dec 30 16:58:29 UTC 2023 - Jan Engelhardt + +- Update symbol versioning pattern to actually match symbols + ------------------------------------------------------------------- Thu Dec 14 09:47:07 UTC 2023 - Jan Engelhardt diff --git a/spdlog.spec b/spdlog.spec index 8f3f1b2..5e6dc0f 100644 --- a/spdlog.spec +++ b/spdlog.spec @@ -79,8 +79,8 @@ export CXX=g++ 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. -v=$(rpm -q --qf="%%{VERSION}" --whatprovides "pkgconfig(fmt)" | sed -e 's/\..*//') -echo "FMT_$v { global: _ZN6spdlog*N3fmt${#v}v${v}; };" >spdlog.sym +v=v$(rpm -q --qf="%%{VERSION}" --whatprovides "pkgconfig(fmt)" | sed -e 's/\..*//') +echo "FMT_$v { global: _ZN6spdlog*N3fmt${#v}${v}*; };" >spdlog.sym v="$PWD/spdlog.sym" %cmake -G Ninja \