From f92a33b506b0ae5fc506311d9a73cacd562b71a1cf97560cfdd5aad4410db2d1 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 9 Aug 2022 07:50:55 +0000 Subject: [PATCH] - Add forced symvers OBS-URL: https://build.opensuse.org/package/show/security:forensics/libfwsi?expand=0&rev=22 --- libfwsi.changes | 5 +++++ libfwsi.spec | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/libfwsi.changes b/libfwsi.changes index b94e777..a5bed12 100644 --- a/libfwsi.changes +++ b/libfwsi.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Aug 8 11:37:44 UTC 2022 - Jan Engelhardt + +- Add forced symvers + ------------------------------------------------------------------- Sun Jan 23 09:05:09 UTC 2022 - Jan Engelhardt diff --git a/libfwsi.spec b/libfwsi.spec index 164f340..eab3f2c 100644 --- a/libfwsi.spec +++ b/libfwsi.spec @@ -81,8 +81,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