diff --git a/fping-4.2.tar.gz b/fping-4.2.tar.gz deleted file mode 100644 index 96e0e66eca0490a0298618c7304d2347525888a9..0000000000000000000000000000000000000000 Binary files a/fping-4.2.tar.gz and /dev/null differ diff --git a/fping-5.1.tar.gz b/fping-5.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..11eb69872001863b448694ea23a20881a04d68a3 Binary files /dev/null and b/fping-5.1.tar.gz differ diff --git a/fping.spec b/fping.spec index 6aa99ff004b766c0018f57ab4a212d171be152f3..2358585e6385258822a7afc58a07d501def940c5 100644 --- a/fping.spec +++ b/fping.spec @@ -1,11 +1,10 @@ Name: fping -Version: 4.2 -Release: 3 +Version: 5.1 +Release: 1 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 @@ -13,8 +12,7 @@ BuildRequires: gcc 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 +%autosetup -n %{name}-%{version} -p1 %build %configure @@ -37,6 +35,9 @@ fping is a program to send ICMP echo probes to network hosts, similar to ping, b %{_mandir}/* %changelog +* Thu Sep 14 2023 yaoxin - 5.1-1 +- Update to 5.1 + * Wed Sep 8 2021 caodongxia - 4.2-3 - Add debug package to add strip diff --git a/gcc-10.patch b/gcc-10.patch deleted file mode 100644 index 4f49a4d1e7f1181c69dad4681311eed6e4f3dc44..0000000000000000000000000000000000000000 --- a/gcc-10.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/src/fping.h 2021-08-03 15:44:55.282990658 +0800 -+++ b/src/fping.h 2021-08-03 15:45:15.519338280 +0800 -@@ -11,7 +11,7 @@ - void crash_and_burn( char *message ); - void errno_crash_and_burn( char *message ); - int in_cksum( unsigned short *p, int n ); --int random_data_flag; -+extern int random_data_flag; - - /* socket.c */ - int open_ping_socket_ipv4();