From 4687882d65dbea4c3f9dedd62396a193135026ea Mon Sep 17 00:00:00 2001 From: Yinsist Date: Tue, 30 Jul 2024 13:10:05 +0000 Subject: [PATCH] first check if Valgrind supports build architecture (cherry picked from commit 2647e3176c610ff1c3438c9a877815b2d10b50d7) --- fwupd.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/fwupd.spec b/fwupd.spec index 3390923..b5909a0 100644 --- a/fwupd.spec +++ b/fwupd.spec @@ -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 - 1.8.17-6 +- Valgrind does not support RISC-V, check if Valgrind supports build architecture + * Mon May 13 2024 Huang Yang - 1.8.17-5 - add loongarch64 support -- Gitee