diff --git a/iptraf-ng.spec b/iptraf-ng.spec index 41ee2a9..afe48dd 100644 --- a/iptraf-ng.spec +++ b/iptraf-ng.spec @@ -1,7 +1,7 @@ Summary: A console-based network monitoring utility Name: iptraf-ng Version: 1.1.4 -Release: 16%{?dist} +Release: 17%{?dist} Source0: https://github.com/iptraf-ng/iptraf-ng/archive/v%{version}.tar.gz Source1: %{name}-logrotate.conf Source2: %{name}-tmpfiles.conf @@ -40,7 +40,9 @@ on a wide variety of supported network cards. %patch03 -p1 %build -make %{?_smp_mflags} V=1 CFLAGS="-g -O2 -Wall -W -std=gnu99 -Werror=format-security %{optflags}" +make %{?_smp_mflags} V=1 \ + CFLAGS="-g -O2 -Wall -W -std=gnu99 -Werror=format-security %{optflags}" \ + LDFLAGS="$RPM_LD_FLAGS" %install rm -rf %{buildroot} @@ -78,6 +80,9 @@ rm -rf %{buildroot} %{_prefix}/lib/tmpfiles.d/%{name}.conf %changelog +* Thu Feb 1 2018 Florian Weimer - 1.1.4-17 +- Build with linker flags from redhat-rpm-config + * Mon Jan 22 2018 Phil Cameron - 1.1.4-16 - Moved upstream from https://fedorahosted.org/iptraf-ng/ to https://github.com/iptraf-ng/iptraf-ng/ with release v1.1.4