From a7184b14728d03581e676edadeb106afeb8344e4ec551d538d79c53f1baf7f23 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 8 Aug 2022 15:45:36 +0000 Subject: [PATCH] - Add forced symvers OBS-URL: https://build.opensuse.org/package/show/security:forensics/libfguid?expand=0&rev=15 --- libfguid.changes | 5 +++++ libfguid.spec | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/libfguid.changes b/libfguid.changes index da0b99e..53ae129 100644 --- a/libfguid.changes +++ b/libfguid.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Aug 8 11:37:44 UTC 2022 - Jan Engelhardt + +- Add forced symvers + ------------------------------------------------------------------- Thu Jan 13 09:11:35 UTC 2022 - Jan Engelhardt diff --git a/libfguid.spec b/libfguid.spec index 79166e9..669b470 100644 --- a/libfguid.spec +++ b/libfguid.spec @@ -60,7 +60,9 @@ applications that want to make use of libfguid. %build autoreconf -fi -%configure --disable-static +# see libcdata for version-sc +echo "V_%version { global: *; };" >v.sym +%configure --disable-static LDFLAGS="-Wl,--version-script=$PWD/v.sym" %make_build %install