Accepting request 835352 from network:utilities

OBS-URL: https://build.opensuse.org/request/show/835352
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iperf?expand=0&rev=29
This commit is contained in:
Dominique Leuenberger 2020-09-21 15:26:00 +00:00 committed by Git OBS Bridge
commit 2c4dc48e36
4 changed files with 30 additions and 14 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e5b080f3273a8a715a4100f13826ac2ca31cc7b1315925631b2ecf64957ded96
size 618098

3
iperf-3.9.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:24b63a26382325f759f11d421779a937b63ca1bc17c44587d2fcfedab60ac038
size 622459

View File

@ -1,3 +1,22 @@
-------------------------------------------------------------------
Mon Sep 14 10:48:05 UTC 2020 - Dirk Mueller <dmueller@suse.com>
- update to 3.9:
* A --timestamps flag has been added, which prepends a timestamp to
each output line. An optional argument to this flag, which is a
format specification to strftime(3), allows for custom timestamp
formats (#909, #1028).
* A --server-bitrate-limit flag has been added as a server-side
command-line argument. It allows a server to enforce a maximum
throughput rate; client connections that specify a higher bitrate
or exceed this bitrate during a test will be terminated. The
bitrate is expressed in bits per second, with an optional trailing
slash and integer count that specifies an averaging interval over
which to enforce the limit (#999).
* A bug that caused increased CPU usage with the --bidir option has
been fixed (#1011).
* Fixed various minor memory leaks (#1023).
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Jul 11 09:45:53 UTC 2020 - Michal Svec <msvec@suse.com> Sat Jul 11 09:45:53 UTC 2020 - Michal Svec <msvec@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package iperf # spec file for package iperf
# #
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2020 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -18,7 +18,7 @@
%define soname 0 %define soname 0
Name: iperf Name: iperf
Version: 3.8.1 Version: 3.9
Release: 0 Release: 0
Summary: A tool to measure network performance Summary: A tool to measure network performance
License: BSD-3-Clause License: BSD-3-Clause
@ -26,13 +26,12 @@ Group: Productivity/Networking/Diagnostic
URL: https://software.es.net/iperf/ URL: https://software.es.net/iperf/
#Source URL: http://downloads.es.net/pub/iperf/%{name}-%{version}.tar.gz #Source URL: http://downloads.es.net/pub/iperf/%{name}-%{version}.tar.gz
Source: http://downloads.es.net/pub/iperf/%{name}-%{version}.tar.gz Source: http://downloads.es.net/pub/iperf/%{name}-%{version}.tar.gz
Requires: lib%{name}%{soname} = %{version}-%{release}
%if %{?sles_version} && %{?sles_version} <= 11 %if %{?sles_version} && %{?sles_version} <= 11
BuildRequires: libuuid-devel BuildRequires: libuuid-devel
%else %else
BuildRequires: pkgconfig(uuid) BuildRequires: pkgconfig(uuid)
%endif %endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: lib%{name}%{soname} = %{version}-%{release}
%description %description
Iperf is a tool for active measurements of the maximum achievable bandwidth Iperf is a tool for active measurements of the maximum achievable bandwidth
@ -83,7 +82,7 @@ This package contains development files.
%build %build
%configure --disable-static %configure --disable-static
make %{?_smp_mflags} %make_build
%install %install
%make_install %make_install
@ -95,19 +94,17 @@ rm %{buildroot}%{_libdir}/lib%{name}.la
%postun -n lib%{name}%{soname} -p /sbin/ldconfig %postun -n lib%{name}%{soname} -p /sbin/ldconfig
%files %files
%defattr(-, root, root) %license LICENSE
%doc LICENSE README.md RELNOTES.md %doc README.md RELNOTES.md
%{_bindir}/%{name}3 %{_bindir}/%{name}3
%{_mandir}/man1/%{name}3.1%{?ext_man} %{_mandir}/man1/%{name}3.1%{?ext_man}
%files -n lib%{name}%{soname} %files -n lib%{name}%{soname}
%defattr(-, root, root) %license LICENSE
%doc LICENSE
%{_libdir}/lib%{name}.so.* %{_libdir}/lib%{name}.so.*
%files devel %files devel
%defattr(-, root, root) %license LICENSE
%doc LICENSE
%{_includedir}/%{name}_api.h %{_includedir}/%{name}_api.h
%{_libdir}/lib%{name}.so %{_libdir}/lib%{name}.so
%{_mandir}/man3/lib%{name}.3%{?ext_man} %{_mandir}/man3/lib%{name}.3%{?ext_man}