Accepting request 994007 from security:forensics

- Add forced symvers

OBS-URL: https://build.opensuse.org/request/show/994007
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libfwsi?expand=0&rev=12
This commit is contained in:
Dominique Leuenberger 2022-08-09 13:28:47 +00:00 committed by Git OBS Bridge
commit 853f993b47
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
-------------------------------------------------------------------
Sun Jan 23 09:05:09 UTC 2022 - Jan Engelhardt <jengelh@inai.de>

View File

@ -81,8 +81,11 @@ 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 \
--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