From 210e88c28bb9b79b355d1f7a09bdac90d7873ff7 Mon Sep 17 00:00:00 2001 From: laokz Date: Wed, 25 Sep 2024 11:37:49 +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 7888b0c..281b41f 100644 --- a/fwupd.spec +++ b/fwupd.spec @@ -43,7 +43,7 @@ Name: fwupd Version: 1.8.17 -Release: 6 +Release: 7 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 @@ -483,6 +484,9 @@ done %{_datadir}/man/man1/* %changelog +* Wed Sep 25 2024 laokz - 1.8.17-7 +- Let valgrind depend on system architecture macro + * Thu Aug 15 2024 xu_ping <707078654@qq.com> - 1.8.17-6 - Remove rpath for libfwupdengine.so and libfwupdutil.so. -- Gitee