From bb7a4f6b71c69f67e9a7a8c3cd20fd2895f87a88c02c2c604801c22494185147 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 9 Aug 2022 07:58:43 +0000 Subject: [PATCH] - Add forced symvers OBS-URL: https://build.opensuse.org/package/show/security:forensics/libewf?expand=0&rev=21 --- libewf.changes | 5 +++++ libewf.spec | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/libewf.changes b/libewf.changes index 6eb351a..3991bf2 100644 --- a/libewf.changes +++ b/libewf.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Aug 8 11:37:44 UTC 2022 - Jan Engelhardt + +- Add forced symvers + ------------------------------------------------------------------- Fri Jan 21 18:25:58 UTC 2022 - Jan Engelhardt diff --git a/libewf.spec b/libewf.spec index 1e20529..257e5e7 100644 --- a/libewf.spec +++ b/libewf.spec @@ -120,9 +120,12 @@ autoreconf -fi # OOT builds are presently broken, so we have to install # within each python iteration now, not in %%install. %{python_expand # +# see libcdata for version-sc +echo "V_%version { global: *; };" >v.sym %configure --disable-static --disable-rpath \ --enable-wide-character-type \ - --enable-python PYTHON_VERSION="%{$python_bin_suffix}" + --enable-python PYTHON_VERSION="%{$python_bin_suffix}" \ + LDFLAGS="-Wl,--version-script=$PWD/v.sym" %make_build %make_install DESTDIR="%_builddir/rt" %make_build clean