Update to latest upstream release
Signed-off-by: Doug Ledford <dledford@redhat.com>
This commit is contained in:
parent
8abd02ed34
commit
1fb1c3a374
2
.gitignore
vendored
2
.gitignore
vendored
@ -12,3 +12,5 @@ noarch/
|
||||
.build*.log
|
||||
/perftest-1.3.0/
|
||||
/perftest-1.3.0-0.58.g8f82435.tar.gz
|
||||
/perftest-2.0-0.52.g49ac91c.tar.gz
|
||||
/perftest-2.0/
|
||||
|
@ -1,16 +1,16 @@
|
||||
Name: perftest
|
||||
Summary: IB Performance Tests
|
||||
Version: 1.3.0
|
||||
Release: 4%{?dist}
|
||||
Version: 2.0
|
||||
Release: 1%{?dist}
|
||||
License: GPLv2 or BSD
|
||||
Group: Productivity/Networking/Diagnostic
|
||||
Source: http://www.openfabrics.org/downloads/%{name}/%{name}-%{version}-0.58.g8f82435.tar.gz
|
||||
Source: http://www.openfabrics.org/downloads/%{name}/%{name}-%{version}-0.52.g49ac91c.tar.gz
|
||||
Url: http://www.openfabrics.org
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildRequires: libibverbs-devel > 1.1.4, librdmacm-devel > 1.0.14
|
||||
BuildRequires: libibumad-devel > 1.3.6
|
||||
Obsoletes: openib-perftest < 1.3
|
||||
ExclusiveArch: %{ix86} x86_64 ia64 ppc ppc64
|
||||
ExcludeArch: s390 s390x
|
||||
|
||||
%description
|
||||
Perftest is a collection of simple test programs designed to utilize
|
||||
@ -23,24 +23,14 @@ RDMA networks.
|
||||
|
||||
%build
|
||||
export CFLAGS="$RPM_OPT_FLAGS"
|
||||
make
|
||||
chmod -x runme
|
||||
%configure
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
install -D -m 0755 rdma_lat %{buildroot}%{_bindir}/rdma_lat
|
||||
install -D -m 0755 rdma_bw %{buildroot}%{_bindir}/rdma_bw
|
||||
install -D -m 0755 ib_write_lat %{buildroot}%{_bindir}/ib_write_lat
|
||||
install -D -m 0755 ib_write_bw %{buildroot}%{_bindir}/ib_write_bw
|
||||
install -D -m 0755 ib_send_lat %{buildroot}%{_bindir}/ib_send_lat
|
||||
install -D -m 0755 ib_send_bw %{buildroot}%{_bindir}/ib_send_bw
|
||||
install -D -m 0755 ib_read_lat %{buildroot}%{_bindir}/ib_read_lat
|
||||
install -D -m 0755 ib_read_bw %{buildroot}%{_bindir}/ib_read_bw
|
||||
install -D -m 0755 ib_write_bw_postlist %{buildroot}%{_bindir}/ib_write_bw_postlist
|
||||
install -D -m 0755 ib_clock_test %{buildroot}%{_bindir}/ib_clock_test
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
for file in ib_{atomic,read,send,write}_{lat,bw}; do
|
||||
install -D -m 0755 $file %{buildroot}%{_bindir}/$file
|
||||
done
|
||||
|
||||
%files
|
||||
%defattr(-, root, root)
|
||||
@ -48,6 +38,9 @@ rm -rf %{buildroot}
|
||||
%_bindir/*
|
||||
|
||||
%changelog
|
||||
* Wed Jul 17 2013 Doug Ledford <dledford@redhat.com> - 2.0-1
|
||||
- Update to latest upstream version
|
||||
|
||||
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.0-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user