Build with linker flags from redhat-rpm-config
This commit is contained in:
parent
ba3f602910
commit
f4abfe7ca2
@ -1,7 +1,7 @@
|
|||||||
Summary: A console-based network monitoring utility
|
Summary: A console-based network monitoring utility
|
||||||
Name: iptraf-ng
|
Name: iptraf-ng
|
||||||
Version: 1.1.4
|
Version: 1.1.4
|
||||||
Release: 16%{?dist}
|
Release: 17%{?dist}
|
||||||
Source0: https://github.com/iptraf-ng/iptraf-ng/archive/v%{version}.tar.gz
|
Source0: https://github.com/iptraf-ng/iptraf-ng/archive/v%{version}.tar.gz
|
||||||
Source1: %{name}-logrotate.conf
|
Source1: %{name}-logrotate.conf
|
||||||
Source2: %{name}-tmpfiles.conf
|
Source2: %{name}-tmpfiles.conf
|
||||||
@ -40,7 +40,9 @@ on a wide variety of supported network cards.
|
|||||||
%patch03 -p1
|
%patch03 -p1
|
||||||
|
|
||||||
%build
|
%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
|
%install
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
@ -78,6 +80,9 @@ rm -rf %{buildroot}
|
|||||||
%{_prefix}/lib/tmpfiles.d/%{name}.conf
|
%{_prefix}/lib/tmpfiles.d/%{name}.conf
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Feb 1 2018 Florian Weimer <fweimer@redhat.com> - 1.1.4-17
|
||||||
|
- Build with linker flags from redhat-rpm-config
|
||||||
|
|
||||||
* Mon Jan 22 2018 Phil Cameron <pcameron@redhat.com> - 1.1.4-16
|
* Mon Jan 22 2018 Phil Cameron <pcameron@redhat.com> - 1.1.4-16
|
||||||
- Moved upstream from https://fedorahosted.org/iptraf-ng/ to
|
- Moved upstream from https://fedorahosted.org/iptraf-ng/ to
|
||||||
https://github.com/iptraf-ng/iptraf-ng/ with release v1.1.4
|
https://github.com/iptraf-ng/iptraf-ng/ with release v1.1.4
|
||||||
|
Loading…
Reference in New Issue
Block a user