diff --git a/fabtests.spec b/fabtests.spec index e91bc1e..e45bf95 100644 --- a/fabtests.spec +++ b/fabtests.spec @@ -1,12 +1,15 @@ Name: fabtests Version: 1.6.2 -Release: 1 +Release: 2 Summary: libfabric API test suite License: BSD-2-Clause and GPL-2.0-only and MIT Url: https://github.com/ofiwg/fabtests Source: https://github.com/ofiwg/fabtests/releases/download/v%{version}/fabtests-%{version}.tar.gz BuildRequires: autoconf automake libtool -BuildRequires: libfabric-devel >= %{version} valgrind-devel gcc +BuildRequires: libfabric-devel >= %{version} gcc +%ifarch %{valgrind_arches} +BuildRequires: valgrind-devel +%endif %description Fabtests provides a set of examples that uses libfabric @@ -22,7 +25,11 @@ Documentation for user of fabtests. %build ./autogen.sh +%ifarch %{valgrind_arches} %configure --with-valgrind +%else +%configure +%endif %make_build V=1 %install @@ -38,6 +45,9 @@ Documentation for user of fabtests. %{_mandir}/man7/* %changelog +* Fri Oct 20 2023 laokz - 1.6.2-2 +- Let valgrind BuildRequire following system %{valgrind_arches} + * Wed Oct 18 2023 Ge Wang - 1.6.2-1 - Update to version 1.6.2