Add valgrind buildrequires with precondition

Signed-off-by: whoisxxx <zhangxuzhou4@huawei.com>
This commit is contained in:
whoisxxx 2020-06-01 19:08:46 +08:00
parent 3b4c2eee8c
commit f10e39859a

View File

@ -9,7 +9,10 @@ Patch2: diffutils-i18n.patch
License: GPLv3+
Provides: bundled(gnulib)
BuildRequires: gcc, help2man, valgrind, gettext-devel
BuildRequires: gcc, help2man, gettext-devel
%ifarch %{valgrind_arches}
BuildRequires: valgrind
%endif
BuildRequires: autoconf, automake, texinfo
%description