Modify build to use libtirpc instead of xdr functions from glibc.

This commit is contained in:
Richard W.M. Jones 2018-02-13 08:58:50 +00:00
parent 6acb020ccc
commit daba08f857

View File

@ -15,6 +15,7 @@ Source5: watchdog-ping.service
Patch3: 0003-watchdog-5.13-rhsel.patch
Patch4: 0004-watchdog-5.13-rhseldoc.patch
BuildRequires: libtirpc-devel
BuildRequires: systemd-units
Requires(post): systemd
@ -55,7 +56,9 @@ iconv -f ISO-8859-1 -t UTF-8 < README.orig > README
%build
%configure
%configure \
CFLAGS="%{__global_cflags} -I/usr/include/tirpc" \
LDFLAGS="%{__global_ldflags} -ltirpc"
make %{?_smp_mflags}
@ -118,6 +121,7 @@ install -Dd -m0755 ${RPM_BUILD_ROOT}%{_libexecdir}/watchdog/scripts
* Tue Feb 13 2018 Richard W.M. Jones <rjones@redhat.com> - 5.15-1
- Rebase to watchdog 5.15.
- Remove upstream patches.
- Modify code to use libtirpc.
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.13-19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild