diff --git a/netperf.spec b/netperf.spec index 03988dec8a49667bdc17581efdab169d40f3b26b..aa9f7467d68913e1b9524cbe3582c57dd4c8fb3b 100644 --- a/netperf.spec +++ b/netperf.spec @@ -2,18 +2,16 @@ Name: netperf Version: 2.7.0 -Release: 2%{?dist} +Release: 3 Summary: A Performance benchmark testing tool fro TCP/UDP License: HP no-commercial URL: http://github.com/HewlettPackard/netperf Source0: https://github.com/HewlettPackard/netperf/archive/%{name}-%{_version}.tar.gz -BuildRequires:texinfo,texinfo-tex +BuildRequires:texinfo texinfo-tex %description netperf is a collection of many different network performance benchmarking tools -Requires: %{name}%{?_isa} = %{version}-%{release} - %package_help @@ -33,16 +31,6 @@ Requires: %{name}%{?_isa} = %{version}-%{release} %clean %{__rm} -rf %{buildroot} -%post -/sbin/install-info %{_infodir}/${infofile} %{_infodir}/dir || : - -%pre - -%preun -if [ $1 -eq 0 ];then - /sbin/install-info --delete %{_infodir}/${infofile} %{_infodir}/dir || : -fi - %files %defattr(-,root,root,0755) %doc README AUTHORS COPYING Release_Notes @@ -56,6 +44,9 @@ fi %{_mandir}/man1/* %changelog +* Sat Sep 26 2020 hushiyuan - 2.7.0-3 +* Delete install-info in post and preun + * Tue Apr 8 2020 hushiyuan - 2.7.0.-2 - Update package description for some spelling mistake