|
|
@ -1,9 +1,13 @@
|
|
|
|
Name: perftest
|
|
|
|
Name: perftest
|
|
|
|
Summary: IB Performance Tests
|
|
|
|
Summary: IB Performance Tests
|
|
|
|
Version: 4.5
|
|
|
|
# Upstream uses a dash in the version. Not valid in the Version field, so we use a dot instead.
|
|
|
|
Release: 12%{?dist}
|
|
|
|
# Issue "Please avoid dashes in version":
|
|
|
|
|
|
|
|
# https://github.com/linux-rdma/perftest/issues/18
|
|
|
|
|
|
|
|
%global upstream_ver 4.5-0.20
|
|
|
|
|
|
|
|
Version: %{lua: print((string.gsub(rpm.expand("%{upstream_ver}"),"-",".")))}
|
|
|
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
License: GPLv2 or BSD
|
|
|
|
License: GPLv2 or BSD
|
|
|
|
Source: https://github.com/linux-rdma/perftest/releases/download/v4.5-0.12/perftest-4.5-0.12.ge93c538.tar.gz
|
|
|
|
Source: https://github.com/linux-rdma/perftest/releases/download/v4.5-0.20/perftest-4.5-0.20.gac7cca5.tar.gz
|
|
|
|
Url: https://github.com/linux-rdma/perftest
|
|
|
|
Url: https://github.com/linux-rdma/perftest
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: make
|
|
|
@ -22,7 +26,10 @@ connections. It does not work on normal TCP/IP networks, only on
|
|
|
|
RDMA networks.
|
|
|
|
RDMA networks.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
# The directory in the tarball has only the part before the dash.
|
|
|
|
|
|
|
|
%global tarball_ver %{lua: _,_,v=string.find(rpm.expand("%{upstream_ver}"),"([^-]+)"); print(v)}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%setup -q -n %{name}-%{tarball_ver}
|
|
|
|
find src -type f -iname '*.[ch]' -exec chmod a-x '{}' ';'
|
|
|
|
find src -type f -iname '*.[ch]' -exec chmod a-x '{}' ';'
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
@ -40,6 +47,14 @@ done
|
|
|
|
%_bindir/*
|
|
|
|
%_bindir/*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Tue Feb 07 2023 Michal Schmidt <mschmidt@redhat.com> - 4.5.0.20-4
|
|
|
|
|
|
|
|
- Use rpm lua code from Fedora perftest-4.5.0.20-4.fc38.
|
|
|
|
|
|
|
|
- Resolves: rhbz#2167405
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Feb 06 2023 Kamal Heib <kheib@redhat.com> - 4.5.0.20-1
|
|
|
|
|
|
|
|
- Rebase to upstream release perftest-4.5-0.20
|
|
|
|
|
|
|
|
- Resolves: rhbz#2167405
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Nov 09 2021 Honggang Li <honli@redhat.com> - 4.5-12
|
|
|
|
* Tue Nov 09 2021 Honggang Li <honli@redhat.com> - 4.5-12
|
|
|
|
- Rebase to upstream release perftest-4.5-0.12
|
|
|
|
- Rebase to upstream release perftest-4.5-0.12
|
|
|
|
- Resolves: rhbz#2020061
|
|
|
|
- Resolves: rhbz#2020061
|
|
|
|