From da60747f37fb426c823e3600bb8b139bcfc06666 Mon Sep 17 00:00:00 2001 From: laokz Date: Wed, 25 Sep 2024 13:44:40 +0800 Subject: [PATCH] let valgrind depend on system arch macro --- fwupd.spec | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/fwupd.spec b/fwupd.spec index 3390923..456f5bf 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 @@ -65,9 +65,8 @@ Source15: https://sourceforge.net/p/gnu-efi/code/ci/3.0.18/tree/gnuefi/crt0-efi Source16: https://sourceforge.net/p/gnu-efi/code/ci/3.0.18/tree/gnuefi/elf_loongarch64_efi.lds?format=raw#/elf_loongarch64_efi.lds Patch0: fwupd-efi.patch -%ifarch riscv64 -Patch1: https://raw.githubusercontent.com/GNOME/gnome-build-meta/37bc8931517261e359e02b2b14bffab0501e79d9/files/fwupd/riscv64.patch -%endif +#https://raw.githubusercontent.com/GNOME/gnome-build-meta/37bc8931517261e359e02b2b14bffab0501e79d9/files/fwupd/riscv64.patch +Patch1: riscv64.patch Patch2: fwupd-add-loongarch64-spoort.patch BuildRequires: libcbor libcbor-devel @@ -88,8 +87,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 +481,9 @@ done %{_datadir}/man/man1/* %changelog +* Wed Sep 25 2024 laokz - 1.8.17-6 +- let valgrind depend on system arch macro + * Mon May 13 2024 Huang Yang - 1.8.17-5 - add loongarch64 support -- Gitee