From d05edb684b1dc53e887eab71f5591db6b7618d30b9b73598f5c71d21f068b3c4 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 9 Aug 2022 08:09:55 +0000 Subject: [PATCH] add forced symvers OBS-URL: https://build.opensuse.org/package/show/security:forensics/libsmraw?expand=0&rev=28 --- libsmraw.changes | 5 +++++ libsmraw.spec | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/libsmraw.changes b/libsmraw.changes index cf461f4..536a2f8 100644 --- a/libsmraw.changes +++ b/libsmraw.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Aug 8 11:37:44 UTC 2022 - Jan Engelhardt + +- Add forced symvers + ------------------------------------------------------------------- Mon Jan 24 10:41:51 UTC 2022 - Jan Engelhardt diff --git a/libsmraw.spec b/libsmraw.spec index 1a364f3..742c7d5 100644 --- a/libsmraw.spec +++ b/libsmraw.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