Use LDFLAGS from redhat-rpm-config

This commit is contained in:
Florian Weimer 2018-07-09 14:42:25 +02:00
parent 59edeeaf97
commit 3802dbfae8

View File

@ -1,6 +1,6 @@
Name: omping
Version: 0.0.4
Release: 13%{?dist}
Release: 14%{?dist}
Summary: Utility to test IP multicast functionality
Group: Applications/Internet
License: ISC
@ -15,7 +15,7 @@ primarily in local network.
%setup -q
%build
make %{?_smp_mflags} CFLAGS="%{optflags}"
make %{?_smp_mflags} CFLAGS="%{optflags}" LDFLAGS="$RPM_LD_FLAGS"
%install
rm -rf %{buildroot}
@ -28,6 +28,9 @@ make DESTDIR="%{buildroot}" PREFIX="%{_prefix}" install
%{_mandir}/man8/*
%changelog
* Mon Jul 9 2018 Florian Weimer <fweimer@redhat.com> - 0.0.4-14
- Use LDFLAGS from redhat-rpm-config
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.4-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild