Compare commits
11 Commits
0f3331c4d1
...
df20dc2b51
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
df20dc2b51 | ||
|
|
e857025b53 | ||
|
|
d493b0cf4b | ||
|
|
0fa5ef8ee6 | ||
|
|
a0941e651e | ||
|
|
9dd6ef3b3f | ||
|
|
fdabc08f83 | ||
|
|
d22024130e | ||
|
|
e7cbb1d4f7 | ||
|
|
520475dfe9 | ||
|
|
4774771bd1 |
20
netperf.spec
20
netperf.spec
@ -2,18 +2,16 @@
|
||||
|
||||
Name: netperf
|
||||
Version: 2.7.0
|
||||
Release: 1%{?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 clloection of many different network performance benchmarking tools
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
netperf is a collection of many different network performance benchmarking tools
|
||||
|
||||
%package_help
|
||||
|
||||
@ -34,14 +32,10 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
%{__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)
|
||||
@ -56,5 +50,11 @@ fi
|
||||
%{_mandir}/man1/*
|
||||
|
||||
%changelog
|
||||
* Tue Mar 13 2020 hushiyuan <hushiyuan@huawei.com> - 2.7.0-1
|
||||
* Sat Sep 26 2020 hushiyuan <hushiyuan@huawei.com> - 2.7.0-3
|
||||
* Delete install-info in post and preun
|
||||
|
||||
* Wed Apr 8 2020 hushiyuan <hushiyuan@huawie.com> - 2.7.0.-2
|
||||
- Update package description for some spelling mistake
|
||||
|
||||
* Fri Mar 13 2020 hushiyuan <hushiyuan@huawei.com> - 2.7.0-1
|
||||
- Package init
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user