From 2be0af8b1c5119a78ba240087371ed0df1bac771 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Feb 21 2018 13:13:37 +0000 Subject: Use LDFLAGS from redhat-rpm-config --- diff --git a/arptables.spec b/arptables.spec index 938fd06..1986c59 100644 --- a/arptables.spec +++ b/arptables.spec @@ -1,7 +1,7 @@ Summary: User space tool to set up tables of ARP rules in kernel Name: arptables Version: 0.0.4 -Release: 12%{?dist} +Release: 13%{?dist} License: GPLv2+ Group: System Environment/Base @@ -38,7 +38,7 @@ cp %{SOURCE3} COPYING # But when it's set to standard system include directory gcc ignores it # (see gcc(1)). It however looks that the code is not ready for using # system headers (instead included ones) so we don't use this option. -make all 'COPT_FLAGS=%{optflags}' %{_smp_mflags} +make all 'COPT_FLAGS=%{optflags}' 'LDFLAGS=%{build_ldflags}' %{_smp_mflags} %install make install DESTDIR=%{buildroot} BINDIR=%{_sbindir} MANDIR=%{_mandir} @@ -69,6 +69,9 @@ echo '# Configure prior to use' > %{buildroot}%{_sysconfdir}/sysconfig/arptables %config(noreplace) %{_sysconfdir}/sysconfig/arptables %changelog +* Wed Feb 21 2018 Florian Weimer - 0.0.4-13 +- Use LDFLAGS from redhat-rpm-config + * Wed Feb 07 2018 Fedora Release Engineering - 0.0.4-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild