import fabtests-1.11.2-1.el8

This commit is contained in:
CentOS Sources 2021-05-18 02:34:27 -04:00 committed by Andrew Lukoshko
parent 4dfa9e8e80
commit ac86c21d0f
5 changed files with 12 additions and 25 deletions

View File

@ -1 +1 @@
c96c10ae2568ea9b92a661e713e587a670e18826 SOURCES/fabtests-1.10.0.tar.bz2
a03f7015d9dd22b84622e5a6e47693b4f6653bc0 SOURCES/fabtests-1.11.2.tar.bz2

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/fabtests-1.10.0.tar.bz2
SOURCES/fabtests-1.11.2.tar.bz2

View File

@ -14,7 +14,7 @@ index aba23be6f..73f55d07b 100755
+++ b/fabtests/scripts/runfabtests.sh
@@ -1,4 +1,4 @@
-#!/usr/bin/env bash
+#!/bin/bash
+#!/usr/bin/bash
#
# Copyright (c) 2017-2019, Intel Corporation. All rights reserved.

View File

@ -1,19 +0,0 @@
diff --git a/fabtests/scripts/runfabtests.sh b/fabtests/scripts/runfabtests.sh
index aba23be6f..70f86a749 100755
--- a/fabtests/scripts/runfabtests.sh
+++ b/fabtests/scripts/runfabtests.sh
@@ -72,11 +72,11 @@ declare -i fail_count=0
declare -i total_failures=0
if [[ "$(uname)" == "FreeBSD" ]]; then
- declare -ri FI_ENODATA=$(python -c 'import errno; print(errno.ENOMSG)')
+ declare -ri FI_ENODATA=$(python3 -c 'import errno; print(errno.ENOMSG)')
else
- declare -ri FI_ENODATA=$(python -c 'import errno; print(errno.ENODATA)')
+ declare -ri FI_ENODATA=$(python3 -c 'import errno; print(errno.ENODATA)')
fi
-declare -ri FI_ENOSYS=$(python -c 'import errno; print(errno.ENOSYS)')
+declare -ri FI_ENOSYS=$(python3 -c 'import errno; print(errno.ENOSYS)')
neg_unit_tests=(
"fi_dgram g00n13s"

View File

@ -1,5 +1,5 @@
Name: fabtests
Version: 1.10.0
Version: 1.11.2
Release: 1%{?dist}
Summary: Test suite for libfabric API
# include/jsmn.h and common/jsmn.c are licensed under MIT.
@ -10,7 +10,6 @@ License: BSD and (BSD or GPLv2) and MIT
Url: https://github.com/ofiwg/libfabric
Source: https://github.com/ofiwg/libfabric/releases/download/v%{version}/%{name}-%{version}.tar.bz2
Patch0: 0001-adjust-shebang-lines-in-rft_yaml_to_junit_xml-and-ru.patch
Patch1: runfabtests-python3.patch
BuildRequires: libfabric-devel >= %{version}
%ifarch %{valgrind_arches}
BuildRequires: valgrind-devel
@ -24,7 +23,6 @@ fabric software library.
%prep
%setup -q
%patch0 -p2
%patch1 -p2
%build
%configure \
@ -48,6 +46,14 @@ rm -f %{buildroot}%{_libdir}/*.la
%license COPYING
%changelog
* Tue Dec 22 2020 Honggang Li <honli@redhat.com> - 1.11.2-1
- Rebase to upstream release v1.11.2
- Resolves: bz1909635
* Tue Nov 17 2020 Honggang Li <honli@redhat.com> - 1.11.1-1
- Rebase to upstream release v1.11.1
- Resolves: bz1856274
* Sat Apr 25 2020 Honggang Li <honli@redhat.com> - 1.10.0
- Rebase to upstream release v1.10.0
- Resolves: bz1770651