remove obsolete CFLAGS

update to 4.0
remove EL5 and old Fedora compatibility
epel9
Charles R. Anderson 8 years ago
parent 5bf82fac4e
commit 27d119ac10

1
.gitignore vendored

@ -10,3 +10,4 @@
/fping-3.13.tar.gz /fping-3.13.tar.gz
/fping-3.15.tar.gz /fping-3.15.tar.gz
/fping-3.16.tar.gz /fping-3.16.tar.gz
/fping-4.0.tar.gz

@ -1,21 +1,13 @@
%global _hardened_build 1 %global _hardened_build 1
%if 0%{?fedora} > 14
%global use_capnetraw 1
%endif
%if 0%{?rhel} > 5
%global use_capnetraw 1
%endif
Name: fping Name: fping
Version: 3.16 Version: 4.0
Release: 1%{?dist} Release: 2%{?dist}
Summary: Scriptable, parallelized ping-like utility Summary: Scriptable, parallelized ping-like utility
Group: Applications/Internet Group: Applications/Internet
License: BSD with advertising License: BSD with advertising
URL: http://www.fping.org/ URL: http://www.fping.org/
Source0: http://fping.org/dist/%{name}-%{version}.tar.gz Source0: http://fping.org/dist/%{name}-%{version}.tar.gz
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
%description %description
fping is a ping-like program which can determine the accessibility of fping is a ping-like program which can determine the accessibility of
@ -27,7 +19,7 @@ use in scripting in mind.
%setup -q -n %{name}-%{version} %setup -q -n %{name}-%{version}
%build %build
CFLAGS="%{?use_capnetraw:-DENABLE_F_OPTION} $RPM_OPT_FLAGS" %configure --enable-ipv4 --enable-ipv6 %configure
make make
%install %install
@ -38,18 +30,18 @@ make DESTDIR="$RPM_BUILD_ROOT" install
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root,-) %doc CHANGELOG.md COPYING
%doc ChangeLog COPYING README
%if 0%{?use_capnetraw}
%attr(0755,root,root) %caps(cap_net_raw=ep) %{_sbindir}/fping %attr(0755,root,root) %caps(cap_net_raw=ep) %{_sbindir}/fping
%attr(0755,root,root) %caps(cap_net_raw=ep) %{_sbindir}/fping6
%else
%attr(4711,root,root) %{_sbindir}/fping
%attr(4711,root,root) %{_sbindir}/fping6
%endif
%{_mandir}/man8/* %{_mandir}/man8/*
%changelog %changelog
* Thu May 04 2017 Charles R. Anderson <cra@wpi.edu> - 4.0-2
- remove obsolete CFLAGS
* Wed May 03 2017 Charles R. Anderson <cra@wpi.edu> - 4.0-1
- update to 4.0
- remove EL5 and old Fedora compatibility
* Mon Feb 20 2017 Charles R. Anderson <cra@wpi.edu> - 3.16-1 * Mon Feb 20 2017 Charles R. Anderson <cra@wpi.edu> - 3.16-1
- update to 3.16 (rhbz#1420733) - update to 3.16 (rhbz#1420733)

@ -1 +1 @@
SHA512 (fping-3.16.tar.gz) = c97c338ef2f7fe0a904ca495503ed5d8745d449ea1821917658538db93683e37f019bc6f78abad8c7eed4ea8accba3b27f126b3af436f79bfd6f3f15d957c805 SHA512 (fping-4.0.tar.gz) = 5dca650e9c34dd2e1bdbb981df61cf092230f07a15c4ccef105b9f58aaaa43e0d85dc9665db89631feded503ecc6f6be86446719de18e59349adb7c2f3e9757e

Loading…
Cancel
Save