From 54a6fb94ad4a7a70d91406c4aef505be904a0ea091ce9062691abcdddff8f56b Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 9 Aug 2022 07:41:22 +0000 Subject: [PATCH] - Add forced symvers OBS-URL: https://build.opensuse.org/package/show/security:forensics/libfsclfs?expand=0&rev=3 --- libfsclfs.changes | 5 +++++ libfsclfs.spec | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/libfsclfs.changes b/libfsclfs.changes index ac6b2e2..0961037 100644 --- a/libfsclfs.changes +++ b/libfsclfs.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Aug 8 11:37:44 UTC 2022 - Jan Engelhardt + +- Add forced symvers + ------------------------------------------------------------------- Sun May 16 10:54:01 UTC 2021 - Jan Engelhardt diff --git a/libfsclfs.spec b/libfsclfs.spec index 8bf3c6d..e595314 100644 --- a/libfsclfs.spec +++ b/libfsclfs.spec @@ -1,7 +1,7 @@ # # spec file for package libfsclfs # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -87,7 +87,9 @@ reading Common Log File Systems (CLFS). %build if [ ! -e configure ]; then ./autogen.sh; 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