Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package spdlog for openSUSE:Factory checked in at 2023-12-28 22:54:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/spdlog (Old) and /work/SRC/openSUSE:Factory/.spdlog.new.28375 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "spdlog" Thu Dec 28 22:54:35 2023 rev:31 rq:1135257 version:1.12.0 Changes: -------- --- /work/SRC/openSUSE:Factory/spdlog/spdlog.changes 2023-11-17 20:50:04.742326749 +0100 +++ /work/SRC/openSUSE:Factory/.spdlog.new.28375/spdlog.changes 2023-12-28 22:54:42.831643363 +0100 @@ -1,0 +2,6 @@ +Thu Dec 14 09:47:07 UTC 2023 - Jan Engelhardt <[email protected]> + +- Add some symbol versions to ease rebuilds and transition on + user systems when fmt changes [boo#1217820] + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ spdlog.spec ++++++ --- /var/tmp/diff_new_pack.wArnBe/_old 2023-12-28 22:54:43.431665267 +0100 +++ /var/tmp/diff_new_pack.wArnBe/_new 2023-12-28 22:54:43.431665267 +0100 @@ -77,6 +77,12 @@ %build 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="$PWD/spdlog.sym" + %cmake -G Ninja \ -DSPDLOG_BUILD_TESTS=ON \ -DSPDLOG_BUILD_BENCH=OFF \ @@ -84,6 +90,7 @@ -DCMAKE_BUILD_TYPE=Release \ -DSPDLOG_BUILD_EXAMPLES=OFF \ -DSPDLOG_BUILD_SHARED=ON \ + -DCMAKE_SHARED_LINKER_FLAGS="%{?build_ldflags} -Wl,--as-needed -Wl,-z,now -Wl,--version-script=$v" \ .. %ninja_build
