fabtests/fabtests.spec
Kamal Heib f2f75a74f6 Update to upstream release 1.22.0
Resolves: RHEL-68494

Signed-off-by: Kamal Heib <kheib@redhat.com>
2025-01-03 20:13:55 -05:00

44 lines
1.1 KiB
RPMSpec

Name: fabtests
Version: 1.22.0
Release: %autorelease
Summary: Test suite for libfabric API
# COPYING says the license is your choice of BSD or GPLv2.
# include/jsmn.h and common/jsmn.c are licensed under MIT.
License: (BSD-2-Clause OR GPL-2.0-only) 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
%autochangelog