diff --git a/libolecf.changes b/libolecf.changes index aae75e1..22f076e 100644 --- a/libolecf.changes +++ b/libolecf.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Aug 8 11:37:44 UTC 2022 - Jan Engelhardt + +- Add forced symvers + ------------------------------------------------------------------- Mon Jan 24 10:20:33 UTC 2022 - Jan Engelhardt diff --git a/libolecf.spec b/libolecf.spec index 426bb86..e8dd73a 100644 --- a/libolecf.spec +++ b/libolecf.spec @@ -92,7 +92,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