diff --git a/.fabtests.metadata b/.fabtests.metadata new file mode 100644 index 0000000..f4cd6e4 --- /dev/null +++ b/.fabtests.metadata @@ -0,0 +1 @@ +5c925a1927b616979107a5c85d7250e5dcea706c SOURCES/fabtests-1.7.0.tar.bz2 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..fb87220 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/fabtests-1.7.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..8f9f169 --- /dev/null +++ b/SOURCES/0001-adjust-shebang-lines-in-rft_yaml_to_junit_xml-and-ru.patch @@ -0,0 +1,20 @@ +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 813fa53..d084702 100755 +--- a/scripts/runfabtests.sh ++++ b/scripts/runfabtests.sh +@@ -1,4 +1,4 @@ +-#!/usr/bin/env bash ++#!/bin/bash + + # + # Copyright (c) 2017-2018, Intel Corporation. All rights reserved. diff --git a/SPECS/fabtests.spec b/SPECS/fabtests.spec new file mode 100644 index 0000000..41782f9 --- /dev/null +++ b/SPECS/fabtests.spec @@ -0,0 +1,87 @@ +Name: fabtests +Version: 1.7.0 +Release: 1%{?dist} +Summary: Test suite for libfabric API +License: GPLv2 or BSD +Url: http://www.github.com/ofiwg/fabtests +Source: https://github.com/ofiwg/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.bz2 +Patch1: 0001-adjust-shebang-lines-in-rft_yaml_to_junit_xml-and-ru.patch +BuildRequires: libfabric-devel >= %{version} +BuildRequires: gcc +%ifnarch s390 +BuildRequires: valgrind-devel +%endif + +%description +Fabtests provides a set of examples that uses libfabric - a high-performance +fabric software library. + +%prep +%setup -q +%patch1 -p1 + +%build +%configure %{?_with_libfabric} \ +%ifnarch s390 + --with-valgrind +%endif + +make %{?_smp_mflags} V=1 + +%install +%make_install +# remove unpackaged files from the buildroot +rm -f %{buildroot}%{_libdir}/*.la + +%files +%{_bindir}/* +%{_mandir}/man1/* +%{_mandir}/man7/* +%doc AUTHORS README +%license COPYING +%{_prefix}/share/fabtests/test_configs + +%changelog +* Thu Jan 31 2019 Honggang Li - 1.7.0-1 +- Rebase to latest release 1.7.0 +- Resolves: bz1635032 + +* Tue Jun 5 2018 Honggang Li - 1.6.1-1 +- Rebase to latest release 1.6.1 +- Resolves: bz1575467 + +* Fri Jan 12 2018 Honggang Li - 1.5.3-1 +- Rebase to upstream release 1.5.3 +- Resolves: bz1533297 + +* Tue Oct 24 2017 Honggang Li - 1.5.1-1 +- Rebase to upstream release 1.5.1. +- Resolves: bz1505737 + +* Thu May 18 2017 Honggang Li - 1.4.2-1 +- Rebase to upstream release 1.4.2. +- Resolves: bz1451214 + +* Mon Mar 6 2017 Honggang Li - 1.4.1-1 +- Rebase to upstream release 1.4.1. +- Resolves: bz1429296 + +* Tue May 31 2016 Honggang Li - 1.3.0-1 +- Rebase to upstream release 1.3.0. +- Related: bz1280146 + +* Fri Aug 14 2015 Honggang Li - 1.1.0-1 +- Rebase to upstream 1.1.0 +- Resolves: bz1253513 + +* Sat Aug 08 2015 Michal Schmidt - 1.1.0-0.2.rc1 +- Packaging Guidelines conformance fixes and spec file cleanups +- Fix libfabric dependency +- Related: bz1235270 + +* Wed Aug 5 2015 Honggang Li - 1.1.0-0.1.rc1 +- Initial build for RHEL-7.2 +- Related: bz1235270 + +* Sun May 3 2015 Open Fabrics Interfaces Working Group 1.0.0 +- Release 1.0.0