Properly check valgrind arches

Based on the Fedora patch:
https://src.fedoraproject.org/rpms/kea/c/c5373569c10

Resolves: RHEL-88916

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
Signed-off-by: Kashyap Chamarthy <kchamart@redhat.com>
This commit is contained in:
David Abdurachmanov 2022-11-15 12:41:14 +02:00 committed by Kashyap Chamarthy
parent e3244332dd
commit 7a9e994dcf

View File

@ -69,7 +69,7 @@ BuildRequires: log4cplus-devel
BuildRequires: sysrepo-devel
%endif
%ifnarch s390 %{mips}
%ifarch %{valgrind_arches}
BuildRequires: valgrind-devel
%endif
%if %{with gtest}