From ffbb87af38e3744a991b4b256239cfcec92ccc79ae47f797deb0a404485d92b7 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 8 Aug 2022 14:28:13 +0000 Subject: [PATCH] add forced symvers OBS-URL: https://build.opensuse.org/package/show/security:forensics/libfvde?expand=0&rev=20 --- libfvde.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libfvde.spec b/libfvde.spec index 83362fc..0d15e69 100644 --- a/libfvde.spec +++ b/libfvde.spec @@ -101,7 +101,9 @@ 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