From 00d3e022b9fb9b4578eea6a438cd4ef66ca9ba3b4691b66ad9694645f91855d3 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 9 Aug 2022 08:09:39 +0000 Subject: [PATCH] add forced symvers OBS-URL: https://build.opensuse.org/package/show/security:forensics/libmsiecf?expand=0&rev=19 --- libmsiecf.changes | 5 +++++ libmsiecf.spec | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/libmsiecf.changes b/libmsiecf.changes index 118f4df..788116a 100644 --- a/libmsiecf.changes +++ b/libmsiecf.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Aug 8 11:37:44 UTC 2022 - Jan Engelhardt + +- Add forced symvers + ------------------------------------------------------------------- Mon Jan 24 09:34:24 UTC 2022 - Jan Engelhardt diff --git a/libmsiecf.spec b/libmsiecf.spec index d014dea..9a65111 100644 --- a/libmsiecf.spec +++ b/libmsiecf.spec @@ -89,7 +89,11 @@ autoreconf -fi # OOT builds are presently broken, so we have to install # within each python iteration now, not in %%install. %{python_expand # -%configure --disable-static --enable-wide-character-type --enable-python PYTHON_VERSION="%{$python_bin_suffix}" +# 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}" \ + LDFLAGS="-Wl,--version-script=$PWD/v.sym" %make_build %make_install DESTDIR="%_builddir/rt" %make_build clean