From 1d2ec6cee0a6147b5740e4c3f47148d5956dda2a19115174aec1b2a7290f354d Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 8 Aug 2022 15:49:42 +0000 Subject: [PATCH] - Add forced symvers OBS-URL: https://build.opensuse.org/package/show/security:forensics/libfshfs?expand=0&rev=18 --- libfshfs.changes | 5 +++++ libfshfs.spec | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/libfshfs.changes b/libfshfs.changes index d81ee69..4b86bfc 100644 --- a/libfshfs.changes +++ b/libfshfs.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Aug 8 11:37:44 UTC 2022 - Jan Engelhardt + +- Add forced symvers + ------------------------------------------------------------------- Sat Jul 9 08:11:11 UTC 2022 - Jan Engelhardt diff --git a/libfshfs.spec b/libfshfs.spec index 9b20c4a..4fd0fef 100644 --- a/libfshfs.spec +++ b/libfshfs.spec @@ -134,7 +134,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