From 357c8d0235ee36c2aef06052e5ce8c21200051aa Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Tue, 16 May 2023 06:20:39 +0000 Subject: [PATCH] import fabtests-1.17.0-2.el8 --- .fabtests.metadata | 1 + .gitignore | 1 + ...ines-in-rft_yaml_to_junit_xml-and-ru.patch | 20 +++ SPECS/fabtests.spec | 126 ++++++++++++++++++ 4 files changed, 148 insertions(+) create mode 100644 .fabtests.metadata create mode 100644 .gitignore create mode 100644 SOURCES/0001-adjust-shebang-lines-in-rft_yaml_to_junit_xml-and-ru.patch create mode 100644 SPECS/fabtests.spec diff --git a/.fabtests.metadata b/.fabtests.metadata new file mode 100644 index 0000000..38ba254 --- /dev/null +++ b/.fabtests.metadata @@ -0,0 +1 @@ +bada1c351756e8e594f22908d73db1bb12907245 SOURCES/fabtests-1.17.0.tar.bz2 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..dbdbdc1 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/fabtests-1.17.0.tar.bz2 diff --git a/SOURCES/0001-adjust-shebang-lines-in-rft_yaml_to_junit_xml-and-ru.patch b/SOURCES/0001-adjust-shebang-lines-in-rft_yaml_to_junit_xml-and-ru.patch new file mode 100644 index 0000000..2b1ee01 --- /dev/null +++ b/SOURCES/0001-adjust-shebang-lines-in-rft_yaml_to_junit_xml-and-ru.patch @@ -0,0 +1,20 @@ +diff --git a/fabtests/scripts/rft_yaml_to_junit_xml b/fabtests/scripts/rft_yaml_to_junit_xml +index feb646366..2d3b3a30c 100755 +--- a/fabtests/scripts/rft_yaml_to_junit_xml ++++ b/fabtests/scripts/rft_yaml_to_junit_xml +@@ -1,4 +1,4 @@ +-#!/usr/bin/env ruby ++#!/usr/bin/ruby + + # Copyright (c) 2015 Cisco Systems, Inc. All rights reserved. + # +diff --git a/fabtests/scripts/runfabtests.sh b/fabtests/scripts/runfabtests.sh +index aba23be6f..73f55d07b 100755 +--- a/fabtests/scripts/runfabtests.sh ++++ b/fabtests/scripts/runfabtests.sh +@@ -1,4 +1,4 @@ +-#!/usr/bin/env bash ++#!/bin/bash + + # + # Copyright (c) 2017-2019, Intel Corporation. All rights reserved. diff --git a/SPECS/fabtests.spec b/SPECS/fabtests.spec new file mode 100644 index 0000000..b3a028f --- /dev/null +++ b/SPECS/fabtests.spec @@ -0,0 +1,126 @@ +Name: fabtests +Version: 1.17.0 +Release: 2%{?dist} +Summary: Test suite for libfabric API +# include/jsmn.h and common/jsmn.c are licensed under MIT. +# All other source files permit distribution under BSD. Some of them +# additionaly expressly allow the option to be licensed under GPLv2. +# See the license headers in individual source files to see which those are. +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 +BuildRequires: libfabric-devel >= %{version} +BuildRequires: valgrind-devel +BuildRequires: gcc +BuildRequires: make +Requires: python3-pytest + +%description +Fabtests provides a set of examples that uses libfabric - a high-performance +fabric software library. + +%prep +%setup -q -n %{name}-%{version} +%patch0 -p2 + +%build +%configure --with-valgrind +make %{?_smp_mflags} V=1 + +%install +%make_install +# remove unpackaged files from the buildroot +rm -f %{buildroot}%{_libdir}/*.la + +%files +%{_datadir}/%{name}/ +%{_bindir}/* +%{_mandir}/man1/* +%{_mandir}/man7/* +%doc AUTHORS README +%license COPYING + +%changelog +* Wed Feb 08 2023 Michal Schmidt - 1.17.0-2 +- Update to upstream release 1.17.0 +- Require python3-pytest +- Resolves: rhbz#2168114, rhbz#2159964 + +* Fri Aug 19 2022 Michal Schmidt - 1.15.1-1 +- Update to upstream release 1.15.1 +- Resolves: rhbz#2114061 + +* Fri Nov 26 2021 Honggang Li - 1.14.0-1 +- Rebase to upstream release v1.14.0 +- Resolves: bz2008510 + +* Thu May 13 2021 Honggang Li - 1.12.1-1 +- Rebase to upstream release v1.12.1 +- Resolves: bz1960071 + +* Tue Dec 22 2020 Honggang Li - 1.11.2-1 +- Rebase to upstream release v1.11.2 +- Resolves: bz1909635 + +* Tue Nov 17 2020 Honggang Li - 1.11.1-1 +- Rebase to upstream release v1.11.1 +- Resolves: bz1856274 + +* Sat Apr 25 2020 Honggang Li - 1.10.0 +- Rebase to upstream release v1.10.0 +- Resolves: bz1770651 + +* Mon Nov 11 2019 Honggang Li - 1.9.0rc1-1 +- Rebase to upstream release v1.9.0rc1 +- Resolves: bz1770650 + +* Mon Jul 1 2019 Honggang Li - 1.8.0-1 +- Rebase to upstream release v1.8.0 +- Resolves: bz1710870 + +* Mon Dec 10 2018 Honggang Li - 1.6.2-1 +- Rebase to upstream release v1.6.2 +- Resolves: bz1654871 + +* Sat Aug 4 2018 Florian Weimer - 1.6.1-3 +- Fix shell syntax error in %%build + +* Fri Aug 3 2018 Florian Weimer - 1.6.1-2 +- Honor %%{valgrind_arches} + +* Fri Jun 22 2018 Honggang Li - 1.6.1-1 +- Rebase to upstream release v1.6.1 +- Resolves: bz1448975 + +* Thu May 10 2018 Honggang Li - 1.6.0-1 +- Rebase to upstream release v1.6.0 + +* Wed Feb 07 2018 Fedora Release Engineering - 1.4.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Wed Aug 02 2017 Fedora Release Engineering - 1.4.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 1.4.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Tue Apr 11 2017 Honggang Li - 1.4.1-1 +- Rebase to latest upstream release. +- Resolves: bz1428619 + +* Fri Feb 10 2017 Fedora Release Engineering - 1.4.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Tue Nov 8 2016 Honggang Li - 1.4.0-1 +- Rebase to latest upstream release. + +* Tue Apr 19 2016 Honggang Li - 1.3.0-3 +- Provide precise license information. + +* Thu Apr 14 2016 Honggang Li - 1.3.0-2 +- Remove license comment in file section. +- Merge duplicated file entries. + +* Thu Apr 14 2016 Honggang Li - 1.3.0-1 +- Import fabtests for Fedora.