From dcc57101f47d78e3a8b87fd8a72b6117d831873f10f6ee86b8f0be29969a5034 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 9 Aug 2022 07:44:00 +0000 Subject: [PATCH] - Add forced symvers OBS-URL: https://build.opensuse.org/package/show/security:forensics/libevtx?expand=0&rev=32 --- libevtx.changes | 5 +++++ libevtx.spec | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/libevtx.changes b/libevtx.changes index 78cf1a2..e93654d 100644 --- a/libevtx.changes +++ b/libevtx.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Aug 8 11:37:44 UTC 2022 - Jan Engelhardt + +- Add forced symvers + ------------------------------------------------------------------- Sun Jul 24 09:38:52 UTC 2022 - Jan Engelhardt diff --git a/libevtx.spec b/libevtx.spec index 66c512e..9fb29bf 100644 --- a/libevtx.spec +++ b/libevtx.spec @@ -101,8 +101,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