let valgrind BuildRequire following system %{valgrind_arches}

This commit is contained in:
laokz 2023-10-16 22:02:53 +08:00 committed by laokz
parent 14675975c2
commit e8bbd3ed5d

View File

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