From b354836c37aa26c7b01787ba5e203b273d8a125faeda1a6932f425bc72459467 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 8 Aug 2022 15:45:21 +0000 Subject: [PATCH] - Add forced symvers OBS-URL: https://build.opensuse.org/package/show/security:forensics/libfdatetime?expand=0&rev=13 --- libfdatetime.changes | 5 +++++ libfdatetime.spec | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/libfdatetime.changes b/libfdatetime.changes index 0855b55..0f83e64 100644 --- a/libfdatetime.changes +++ b/libfdatetime.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Aug 8 11:37:44 UTC 2022 - Jan Engelhardt + +- Add forced symvers + ------------------------------------------------------------------- Mon Jan 17 02:13:04 UTC 2022 - Jan Engelhardt diff --git a/libfdatetime.spec b/libfdatetime.spec index 1585b81..31668ac 100644 --- a/libfdatetime.spec +++ b/libfdatetime.spec @@ -60,7 +60,9 @@ applications that want to make use of libfdatetime. %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