diff --git a/.gitignore b/.gitignore index a525707..1787a59 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ /fping-3.13.tar.gz /fping-3.15.tar.gz /fping-3.16.tar.gz +/fping-4.0.tar.gz diff --git a/fping.spec b/fping.spec index b53a3b1..5186dcf 100644 --- a/fping.spec +++ b/fping.spec @@ -1,21 +1,13 @@ %global _hardened_build 1 -%if 0%{?fedora} > 14 -%global use_capnetraw 1 -%endif -%if 0%{?rhel} > 5 -%global use_capnetraw 1 -%endif - Name: fping -Version: 3.16 -Release: 1%{?dist} +Version: 4.0 +Release: 2%{?dist} Summary: Scriptable, parallelized ping-like utility Group: Applications/Internet License: BSD with advertising URL: http://www.fping.org/ Source0: http://fping.org/dist/%{name}-%{version}.tar.gz -BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) %description 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} %build -CFLAGS="%{?use_capnetraw:-DENABLE_F_OPTION} $RPM_OPT_FLAGS" %configure --enable-ipv4 --enable-ipv6 +%configure make %install @@ -38,18 +30,18 @@ make DESTDIR="$RPM_BUILD_ROOT" install rm -rf $RPM_BUILD_ROOT %files -%defattr(-,root,root,-) -%doc ChangeLog COPYING README -%if 0%{?use_capnetraw} +%doc CHANGELOG.md COPYING %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/* %changelog +* Thu May 04 2017 Charles R. Anderson - 4.0-2 +- remove obsolete CFLAGS + +* Wed May 03 2017 Charles R. Anderson - 4.0-1 +- update to 4.0 +- remove EL5 and old Fedora compatibility + * Mon Feb 20 2017 Charles R. Anderson - 3.16-1 - update to 3.16 (rhbz#1420733) diff --git a/sources b/sources index 3baa1e5..e9dfb7b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (fping-3.16.tar.gz) = c97c338ef2f7fe0a904ca495503ed5d8745d449ea1821917658538db93683e37f019bc6f78abad8c7eed4ea8accba3b27f126b3af436f79bfd6f3f15d957c805 +SHA512 (fping-4.0.tar.gz) = 5dca650e9c34dd2e1bdbb981df61cf092230f07a15c4ccef105b9f58aaaa43e0d85dc9665db89631feded503ecc6f6be86446719de18e59349adb7c2f3e9757e