#%global debug_package %{nil} Name: fping Version: 4.2 Release: 2 Summary: fping is a program to send ICMP echo probes to network hosts License: BSD like URL: http://www.fping.org/ Source0: http://www.fping.org/dist/%{name}-%{version}.tar.gz Patch0: gcc-10.patch BuildRequires: gcc %description fping is a program to send ICMP echo probes to network hosts, similar to ping, but much better performing when pinging multiple hosts %prep %setup -q -n %{name}-%{version}/ %patch0 -p1 %build %configure %make_build %install %make_install %pre %preun %post %postun %check %files %license COPYING %doc INSTALL CHANGELOG.md %{_sbindir}/* %{_mandir}/* %changelog * Fri Jul 30 2021 linjiaxin5 - 4.2-2 - Fix failure caused by GCC upgrade to 10 * Sun Mar 29 2020 Wei Xiong - Package init