From 1e31cea6360eb205caa3c1748753f07748b2fcdb8aefba8aa781b12d7874a409 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 8 Aug 2022 15:48:05 +0000 Subject: [PATCH] - Add forced symvers OBS-URL: https://build.opensuse.org/package/show/security:forensics/libregf?expand=0&rev=35 --- libregf.changes | 5 +++++ libregf.spec | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/libregf.changes b/libregf.changes index 4522ad0..ab30c7f 100644 --- a/libregf.changes +++ b/libregf.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Aug 8 11:37:44 UTC 2022 - Jan Engelhardt + +- Add forced symvers + ------------------------------------------------------------------- Tue Feb 1 17:11:16 UTC 2022 - Jan Engelhardt diff --git a/libregf.spec b/libregf.spec index 0450a5b..4ff77ca 100644 --- a/libregf.spec +++ b/libregf.spec @@ -98,7 +98,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