!77 first check if Valgrind supports the architecture

From: @yinist 
Reviewed-by: @wang--ge 
Signed-off-by: @wang--ge
This commit is contained in:
openeuler-ci-bot 2024-09-25 03:20:03 +00:00 committed by Gitee
commit 9d8fd0c193
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -43,7 +43,7 @@
Name: fwupd
Version: 1.8.17
Release: 5
Release: 6
License: LGPLv2+
Summary: Make updating firmware on Linux automatic, safe and reliable
URL: https://github.com/fwupd/fwupd
@ -88,8 +88,10 @@ BuildRequires: libarchive-devel
BuildRequires: gobject-introspection-devel
BuildRequires: gcab meson >= 0.61.0
BuildRequires: protobuf-c protobuf-c-devel tpm2-tss-devel
%ifarch %{valgrind_arches}
BuildRequires: valgrind
BuildRequires: valgrind-devel
%endif
BuildRequires: python3 ninja-build python3-jinja2 python3-toml python
BuildRequires: gnutls-devel
BuildRequires: gnutls-utils
@ -480,6 +482,9 @@ done
%{_datadir}/man/man1/*
%changelog
* Tue Jul 30 2024 yinsist <jianhui.oerv@isrc.iscas.ac.cn> - 1.8.17-6
- Valgrind does not support RISC-V, check if Valgrind supports build architecture
* Mon May 13 2024 Huang Yang <huangyang@loongson.cn> - 1.8.17-5
- add loongarch64 support