- Add forced symvers

OBS-URL: https://build.opensuse.org/package/show/security:forensics/libfwps?expand=0&rev=4
This commit is contained in:
Jan Engelhardt 2022-08-09 07:51:04 +00:00 committed by Git OBS Bridge
parent 4641b575c7
commit 0351692e1a
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Aug 8 11:37:44 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
- Add forced symvers
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Jan 22 12:35:34 UTC 2022 - Jan Engelhardt <jengelh@inai.de> Sat Jan 22 12:35:34 UTC 2022 - Jan Engelhardt <jengelh@inai.de>

View File

@ -78,8 +78,11 @@ autoreconf -fi
# OOT builds are presently broken, so we have to install # OOT builds are presently broken, so we have to install
# within each python iteration now, not in %%install. # within each python iteration now, not in %%install.
%{python_expand # %{python_expand #
# see libcdata for version-sc
echo "V_%version { global: *; };" >v.sym
%configure --disable-static \ %configure --disable-static \
--enable-python PYTHON_VERSION="%{$python_bin_suffix}" --enable-python PYTHON_VERSION="%{$python_bin_suffix}" \
LDFLAGS="-Wl,--version-script=$PWD/v.sym"
%make_build %make_build
%make_install DESTDIR="%_builddir/rt" %make_install DESTDIR="%_builddir/rt"
%make_build clean %make_build clean