import perftest-4.5.0.20-4.el8
This commit is contained in:
parent
bffb422801
commit
6756e9fecd
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
|||||||
SOURCES/perftest-4.5-0.12.ge93c538.tar.gz
|
SOURCES/perftest-4.5-0.20.gac7cca5.tar.gz
|
||||||
|
@ -1 +1 @@
|
|||||||
cb7c9f0c822c0881272785a17de61329e866a9de SOURCES/perftest-4.5-0.12.ge93c538.tar.gz
|
b8180b8e6117f1db9b7127c8a5295f4a5dfdb004 SOURCES/perftest-4.5-0.20.gac7cca5.tar.gz
|
||||||
|
@ -1,18 +1,23 @@
|
|||||||
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.
|
||||||
%define minor_release 0.12
|
# Issue "Please avoid dashes in version":
|
||||||
%define git_hash ge93c538
|
# https://github.com/linux-rdma/perftest/issues/18
|
||||||
Release: 12%{?dist}
|
%global upstream_ver 4.5-0.20
|
||||||
License: GPLv2 or BSD
|
Version: %{lua: print((string.gsub(rpm.expand("%{upstream_ver}"),"-",".")))}
|
||||||
Source0: https://github.com/linux-rdma/perftest/releases/download/V%{version}-%{minor_release}/perftest-%{version}-%{minor_release}.%{git_hash}.tar.gz
|
Release: 4%{?dist}
|
||||||
|
License: GPLv2 or BSD
|
||||||
|
Source: https://github.com/linux-rdma/perftest/releases/download/v4.5-0.20/perftest-4.5-0.20.gac7cca5.tar.gz
|
||||||
Source1: ib_atomic_bw.1
|
Source1: ib_atomic_bw.1
|
||||||
Url: https://github.com/linux-rdma/perftest
|
Url: https://github.com/linux-rdma/perftest
|
||||||
BuildRequires: libibverbs-devel > 1.1.4, librdmacm-devel > 1.0.14
|
|
||||||
BuildRequires: libibumad-devel > 1.3.6
|
BuildRequires: make
|
||||||
BuildRequires: pciutils-devel
|
BuildRequires: gcc
|
||||||
BuildRequires: autoconf, automake, libtool
|
BuildRequires: libibverbs-devel >= 1.2.0
|
||||||
Obsoletes: openib-perftest < 1.3
|
BuildRequires: librdmacm-devel >= 1.0.21
|
||||||
|
BuildRequires: libibumad-devel >= 1.3.10.2
|
||||||
|
BuildRequires: pciutils-devel
|
||||||
|
Obsoletes: openib-perftest < 1.3
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Perftest is a collection of simple test programs designed to utilize
|
Perftest is a collection of simple test programs designed to utilize
|
||||||
@ -21,18 +26,18 @@ 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.
|
||||||
autoreconf --force --install
|
%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 '{}' ';'
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure
|
%configure
|
||||||
%make_build
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
for file in ib_{atomic,read,send,write}_{lat,bw}; do
|
for file in ib_{atomic,read,send,write}_{lat,bw} raw_ethernet_{lat,bw}; do
|
||||||
install -D -m 0755 $file %{buildroot}%{_bindir}/$file
|
|
||||||
done
|
|
||||||
for file in raw_ethernet_{lat,bw}; do
|
|
||||||
install -D -m 0755 $file %{buildroot}%{_bindir}/$file
|
install -D -m 0755 $file %{buildroot}%{_bindir}/$file
|
||||||
done
|
done
|
||||||
mkdir -p %{buildroot}%{_mandir}/man1/
|
mkdir -p %{buildroot}%{_mandir}/man1/
|
||||||
@ -45,11 +50,15 @@ popd
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%doc README
|
%doc README
|
||||||
%{_bindir}/*
|
|
||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
%license COPYING
|
%license COPYING
|
||||||
|
%_bindir/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Feb 08 2023 Michal Schmidt <mschmidt@redhat.com> - 4.5.0.20-4
|
||||||
|
- Rebase to upstream version 4.5-0.20
|
||||||
|
- Resolves: rhbz#2168109
|
||||||
|
|
||||||
* Wed Nov 10 2021 Honggang Li <honli@redhat.com> - 4.5-12
|
* Wed Nov 10 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#2020062
|
- Resolves: rhbz#2020062
|
||||||
|
Loading…
Reference in New Issue
Block a user