Accepting request 873509 from home:darix:playground
- Make sure we pull in the libraries we need for dlopen, by following the symlinks from the .so symlinks with the requires_file macro. OBS-URL: https://build.opensuse.org/request/show/873509 OBS-URL: https://build.opensuse.org/package/show/network/keepalived?expand=0&rev=66
This commit is contained in:
parent
2a74185e89
commit
9df28f8932
@ -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>
|
Tue Jan 26 14:58:01 UTC 2021 - Marcus Rueckert <mrueckert@suse.de>
|
||||||
|
|
||||||
|
@ -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
|
#Compat macro for new _fillupdir macro introduced in Nov 2017
|
||||||
%if ! %{defined _fillupdir}
|
%if ! %{defined _fillupdir}
|
||||||
%define _fillupdir /var/adm/fillup-templates
|
%define _fillupdir /var/adm/fillup-templates
|
||||||
@ -86,6 +88,11 @@ BuildRequires: pkgconfig(libsystemd)
|
|||||||
%else
|
%else
|
||||||
Requires(pre): %insserv_prereq
|
Requires(pre): %insserv_prereq
|
||||||
%endif
|
%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
|
%description
|
||||||
This project provides facilities for load balancing and high-availability to
|
This project provides facilities for load balancing and high-availability to
|
||||||
|
Loading…
x
Reference in New Issue
Block a user