diff --git a/libhmac.changes b/libhmac.changes index 6a582df..c7b6882 100644 --- a/libhmac.changes +++ b/libhmac.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Aug 8 11:37:44 UTC 2022 - Jan Engelhardt + +- Add forced symvers + ------------------------------------------------------------------- Mon Apr 25 08:14:04 UTC 2022 - Jan Engelhardt diff --git a/libhmac.spec b/libhmac.spec index 786c850..55818b8 100644 --- a/libhmac.spec +++ b/libhmac.spec @@ -74,7 +74,10 @@ Use hmacsum to calculate a Hash-based Message Authentication Code (HMAC) of the %build autoreconf -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