From 5627f7c9fa1efb71ac182dd30268dbe89b3578b3cf93d68524b148d21bfb774b Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 8 Aug 2022 15:46:11 +0000 Subject: [PATCH] - Add forced symvers OBS-URL: https://build.opensuse.org/package/show/security:forensics/libfplist?expand=0&rev=4 --- libfplist.changes | 5 +++++ libfplist.spec | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/libfplist.changes b/libfplist.changes index 0930f76..124b375 100644 --- a/libfplist.changes +++ b/libfplist.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Aug 8 11:37:44 UTC 2022 - Jan Engelhardt + +- Add forced symvers + ------------------------------------------------------------------- Sun Jan 16 18:52:23 UTC 2022 - Jan Engelhardt diff --git a/libfplist.spec b/libfplist.spec index 0a02911..9b24d62 100644 --- a/libfplist.spec +++ b/libfplist.spec @@ -81,7 +81,9 @@ applications that want to make use of libfplist. %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