commit 931c9a44c91a9a164178eae7da555598703cb521 Author: CentOS Sources Date: Thu Aug 1 17:51:09 2019 -0400 import fabtests-1.6.2-1.el8 diff --git a/.fabtests.metadata b/.fabtests.metadata new file mode 100644 index 0000000..e0ce339 --- /dev/null +++ b/.fabtests.metadata @@ -0,0 +1 @@ +1500c433b5b6f2b01ca49caf290d0bd48ac2a09e SOURCES/fabtests-1.6.2.tar.bz2 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a016948 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/fabtests-1.6.2.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..b76ad14 --- /dev/null +++ b/SOURCES/0001-adjust-shebang-lines-in-rft_yaml_to_junit_xml-and-ru.patch @@ -0,0 +1,36 @@ +From c97eca499945232f0e6d40b254e64b168261931e Mon Sep 17 00:00:00 2001 +From: Michal Schmidt +Date: Tue, 19 Apr 2016 13:29:43 +0200 +Subject: [PATCH] adjust shebang lines in rft_yaml_to_junit_xml and + runfabtests.sh + +Do not use /usr/bin/env. Call the appropriate binary directly. +This way rpmbuild will record the right dependencies. +--- + scripts/rft_yaml_to_junit_xml | 2 +- + scripts/runfabtests.sh | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/scripts/rft_yaml_to_junit_xml b/scripts/rft_yaml_to_junit_xml +index feb6463..2d3b3a3 100755 +--- a/scripts/rft_yaml_to_junit_xml ++++ b/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/scripts/runfabtests.sh b/scripts/runfabtests.sh +index decb11a..8cc02f5 100755 +--- a/scripts/runfabtests.sh ++++ b/scripts/runfabtests.sh +@@ -1,4 +1,4 @@ +-#!/usr/bin/env bash ++#!/bin/bash + + # + # Copyright (c) 2017, Intel Corporation. All rights reserved. +-- +2.17.0 + diff --git a/SPECS/fabtests.spec b/SPECS/fabtests.spec new file mode 100644 index 0000000..da28747 --- /dev/null +++ b/SPECS/fabtests.spec @@ -0,0 +1,92 @@ +Name: fabtests +Version: 1.6.2 +Release: 1%{?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/fabtests +Source: https://github.com/ofiwg/%{name}/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} +%ifarch %{valgrind_arches} +BuildRequires: valgrind-devel +%endif +BuildRequires: gcc + +%description +Fabtests provides a set of examples that uses libfabric - a high-performance +fabric software library. + +%prep +%setup -q +%patch0 -p1 + +%build +%configure \ +%ifarch %{valgrind_arches} + --with-valgrind \ +%endif + +make %{?_smp_mflags} V=1 + +%install +%make_install +# remove unpackaged files from the buildroot +rm -f %{buildroot}%{_libdir}/*.la + +%files +%{_datadir}/%{name}/ +%{_bindir}/* +%{_mandir}/man7/* +%doc AUTHORS README +%license COPYING + +%changelog +* 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.