From 75dfed0f448c118a6c11dc75403817a4f55c17462f88e15d0685f4954cf99518 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 8 Aug 2022 15:49:22 +0000 Subject: [PATCH] - Add forced symvers OBS-URL: https://build.opensuse.org/package/show/security:forensics/libfsxfs?expand=0&rev=14 --- libfsxfs.changes | 5 +++++ libfsxfs.spec | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/libfsxfs.changes b/libfsxfs.changes index 38f15fd..5300f98 100644 --- a/libfsxfs.changes +++ b/libfsxfs.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Aug 8 11:37:44 UTC 2022 - Jan Engelhardt + +- Add forced symvers + ------------------------------------------------------------------- Thu Jul 7 07:49:14 UTC 2022 - Jan Engelhardt diff --git a/libfsxfs.spec b/libfsxfs.spec index 7de7b57..07a7560 100644 --- a/libfsxfs.spec +++ b/libfsxfs.spec @@ -94,7 +94,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