Dominique Leuenberger 2021-02-23 19:22:00 +00:00 committed by Git OBS Bridge
commit f4573fd565
2 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Feb 18 16:17:02 UTC 2021 - Marcus Rueckert <mrueckert@suse.de>
- Make sure we pull in the libraries we need for dlopen, by
following the symlinks from the .so symlinks with the
requires_file macro.
-------------------------------------------------------------------
Tue Jan 26 14:58:01 UTC 2021 - Marcus Rueckert <mrueckert@suse.de>

View File

@ -16,6 +16,8 @@
#
%define requires_file() %( readlink -f '%*' | LC_ALL=C xargs -r rpm -q --qf 'Requires: %%{name} >= %%{epoch}:%%{version}\\n' -f | sed -e 's/ (none):/ /' -e 's/ 0:/ /' | grep -v "is not")
#Compat macro for new _fillupdir macro introduced in Nov 2017
%if ! %{defined _fillupdir}
%define _fillupdir /var/adm/fillup-templates
@ -86,6 +88,11 @@ BuildRequires: pkgconfig(libsystemd)
%else
Requires(pre): %insserv_prereq
%endif
%requires_file %{_libdir}/libipset.so
%requires_file %{_libdir}/libip6tc.so
%requires_file %{_libdir}/libip4tc.so
%requires_file %{_libdir}/libnl-3.so
%requires_file %{_libdir}/libnl-genl-3.so
%description
This project provides facilities for load balancing and high-availability to