Accepting request 994022 from security:forensics

- Add forced symvers

OBS-URL: https://build.opensuse.org/request/show/994022
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libregf?expand=0&rev=26
This commit is contained in:
Dominique Leuenberger 2022-08-09 13:28:59 +00:00 committed by Git OBS Bridge
commit de32018188
2 changed files with 10 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
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Feb 1 17:11:16 UTC 2022 - Jan Engelhardt <jengelh@inai.de> Tue Feb 1 17:11:16 UTC 2022 - Jan Engelhardt <jengelh@inai.de>

View File

@ -98,7 +98,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 #
%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_build
%make_install DESTDIR="%_builddir/rt" %make_install DESTDIR="%_builddir/rt"
%make_build clean %make_build clean