From 9e00ca04fcee79cf60bbe4a089c54858b9605d673399b7cf2c54c1f2868e7e65 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 9 Aug 2022 08:09:42 +0000 Subject: [PATCH] add forced symvers OBS-URL: https://build.opensuse.org/package/show/security:forensics/libnsfdb?expand=0&rev=3 --- libnsfdb.changes | 5 +++++ libnsfdb.spec | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/libnsfdb.changes b/libnsfdb.changes index 65ba869..8f7c047 100644 --- a/libnsfdb.changes +++ b/libnsfdb.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Aug 8 11:37:44 UTC 2022 - Jan Engelhardt + +- Add forced symvers + ------------------------------------------------------------------- Tue May 18 11:00:02 UTC 2021 - Jan Engelhardt diff --git a/libnsfdb.spec b/libnsfdb.spec index e3c2347..6883c5f 100644 --- a/libnsfdb.spec +++ b/libnsfdb.spec @@ -1,7 +1,7 @@ # # spec file for package libnsfdb # -# 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 @@ -86,7 +86,9 @@ read Notes Storage Facility databases. %build if [ ! -e configure ]; then ./autogen.sh; 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