From de2d9029ace6bd12381fcf732cd30885948953c0c085c50d05c55034bacb2d10 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 8 Aug 2022 15:47:00 +0000 Subject: [PATCH] - Add forced symvers OBS-URL: https://build.opensuse.org/package/show/security:forensics/libhmac?expand=0&rev=11 --- libhmac.changes | 5 +++++ libhmac.spec | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) 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