From 0351692e1a73d541971b84089e3d93c961565ddba381b9e51851094bf0aa575a Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 9 Aug 2022 07:51:04 +0000 Subject: [PATCH] - Add forced symvers OBS-URL: https://build.opensuse.org/package/show/security:forensics/libfwps?expand=0&rev=4 --- libfwps.changes | 5 +++++ libfwps.spec | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/libfwps.changes b/libfwps.changes index 3f3b649..2a7b43f 100644 --- a/libfwps.changes +++ b/libfwps.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Aug 8 11:37:44 UTC 2022 - Jan Engelhardt + +- Add forced symvers + ------------------------------------------------------------------- Sat Jan 22 12:35:34 UTC 2022 - Jan Engelhardt diff --git a/libfwps.spec b/libfwps.spec index 338ebee..9e1f6f5 100644 --- a/libfwps.spec +++ b/libfwps.spec @@ -78,8 +78,11 @@ autoreconf -fi # OOT builds are presently broken, so we have to install # within each python iteration now, not in %%install. %{python_expand # +# see libcdata for version-sc +echo "V_%version { global: *; };" >v.sym %configure --disable-static \ - --enable-python PYTHON_VERSION="%{$python_bin_suffix}" + --enable-python PYTHON_VERSION="%{$python_bin_suffix}" \ + LDFLAGS="-Wl,--version-script=$PWD/v.sym" %make_build %make_install DESTDIR="%_builddir/rt" %make_build clean