From 12fe95137c2b1ec75f0337010f298f005884bf8e Mon Sep 17 00:00:00 2001 From: Kamal Heib Date: Mon, 6 Feb 2023 10:00:04 -0500 Subject: [PATCH] Rebase to upstream release perftest-4.5-0.20 Resolves: rhbz#2167405 Signed-off-by: Kamal Heib --- .gitignore | 1 + perftest.spec | 16 ++++++++++++---- sources | 2 +- 3 files changed, 14 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 3939148..59485a6 100644 --- a/.gitignore +++ b/.gitignore @@ -23,3 +23,4 @@ noarch/ /perftest-4.4-0.37.gb853c2d.tar.gz /perftest-4.5-0.2.gddb0705.tar.gz /perftest-4.5-0.12.ge93c538.tar.gz +/perftest-4.5-0.20.gac7cca5.tar.gz diff --git a/perftest.spec b/perftest.spec index 52c6d00..e3a654d 100644 --- a/perftest.spec +++ b/perftest.spec @@ -1,9 +1,13 @@ Name: perftest Summary: IB Performance Tests -Version: 4.5 -Release: 12%{?dist} +# Upstream uses a dash in the version. Not valid in the Version field, so we use a dot instead. +%global upstream_ver 4.5-0.20 +# The directory in the tarball has only the part before the dash. +%global tarball_ver 4.5 +Version: 4.5.0.20 +Release: 1%{?dist} 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 BuildRequires: make @@ -22,7 +26,7 @@ connections. It does not work on normal TCP/IP networks, only on RDMA networks. %prep -%setup -q +%setup -q -n %{name}-%{tarball_ver} find src -type f -iname '*.[ch]' -exec chmod a-x '{}' ';' %build @@ -40,6 +44,10 @@ done %_bindir/* %changelog +* Mon Feb 06 2023 Kamal Heib - 4.5.0.20-1 +- Rebase to upstream release perftest-4.5-0.20 +- Resolves: rhbz#2167405 + * Tue Nov 09 2021 Honggang Li - 4.5-12 - Rebase to upstream release perftest-4.5-0.12 - Resolves: rhbz#2020061 diff --git a/sources b/sources index 2a34d06..2f482a9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (perftest-4.5-0.12.ge93c538.tar.gz) = 1768273026a9fd6177d559a897b9e356862f5f6db035432df1ffc464f73a706fb71bad6df9878dd3a8e3a1ef35b70b670e37c62b670df326523c81e9bcd74da7 +SHA512 (perftest-4.5-0.20.gac7cca5.tar.gz) = fa2a0ca4487134081b178576a0997476c60228847f13142d069d77c7ca69bb8634fd980a6c8e07741029dead677b4a4d0758521adaba046fb2bc2ce3b496ec82