diff --git a/libodraw.changes b/libodraw.changes index b95cdd5..9aca4cc 100644 --- a/libodraw.changes +++ b/libodraw.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Aug 8 11:37:44 UTC 2022 - Jan Engelhardt + +- Add forced symvers + ------------------------------------------------------------------- Fri May 14 00:38:39 UTC 2021 - Jan Engelhardt diff --git a/libodraw.spec b/libodraw.spec index 13f5159..c72a988 100644 --- a/libodraw.spec +++ b/libodraw.spec @@ -1,7 +1,7 @@ # # spec file for package libodraw # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -87,7 +87,10 @@ cp "%{S:2}" . %build if [ ! -e configure ]; then ./autogen.sh; fi -%configure --disable-static --enable-wide-character-type +# see libcdata for version-sc +echo "V_%version { global: *; };" >v.sym +%configure --disable-static --enable-wide-character-type \ + LDFLAGS="-Wl,--version-script=$PWD/v.sym" %make_build %install