From 0a41171272b0198ce41457c0fac222fd33d79477e16790157334865eaf549fed Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 8 Aug 2022 15:47:43 +0000 Subject: [PATCH] - Add forced symvers OBS-URL: https://build.opensuse.org/package/show/security:forensics/libwrc?expand=0&rev=18 --- libwrc.changes | 5 +++++ libwrc.spec | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/libwrc.changes b/libwrc.changes index e96b2db..140aa58 100644 --- a/libwrc.changes +++ b/libwrc.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Aug 8 11:37:44 UTC 2022 - Jan Engelhardt + +- Add forced symvers + ------------------------------------------------------------------- Sun Jul 24 10:57:07 UTC 2022 - Jan Engelhardt diff --git a/libwrc.spec b/libwrc.spec index 8fb36ad..ace7cca 100644 --- a/libwrc.spec +++ b/libwrc.spec @@ -91,8 +91,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-wide-character-type \ - --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