diff --git a/fwupd.spec b/fwupd.spec index 32d0c68bde9d033f29e747d1a2c61b7e885d7a42..b51e9b423d3996fbc477dc6ba5a9f9a9d1b95530 100644 --- a/fwupd.spec +++ b/fwupd.spec @@ -43,7 +43,7 @@ Name: fwupd Version: 1.8.17 -Release: 7 +Release: 8 License: LGPLv2+ Summary: Make updating firmware on Linux automatic, safe and reliable URL: https://github.com/fwupd/fwupd @@ -68,6 +68,7 @@ Patch0: fwupd-efi.patch #https://raw.githubusercontent.com/GNOME/gnome-build-meta/37bc8931517261e359e02b2b14bffab0501e79d9/files/fwupd/riscv64.patch Patch1: riscv64.patch Patch2: fwupd-add-loongarch64-spoort.patch +Patch3: skip-fu-self-test-for-loongarch64.patch BuildRequires: libcbor libcbor-devel BuildRequires: efi-srpm-macros @@ -185,6 +186,7 @@ cp %{SOURCE14} subprojects/fwupd-efi/efi/lds %ifarch loongarch64 %patch2 -p1 +%patch3 -p1 cp %{SOURCE15} subprojects/fwupd-efi/efi/crt0 cp %{SOURCE16} subprojects/fwupd-efi/efi/lds %endif @@ -483,6 +485,9 @@ done %{_datadir}/man/man1/* %changelog +* Mon Dec 30 2024 Wenlong Zhang - 1.8.17-8 +- skip fu-self-test for loongarch64 + * Wed Sep 25 2024 laokz - 1.8.17-7 - let valgrind depend on system arch macro diff --git a/skip-fu-self-test-for-loongarch64.patch b/skip-fu-self-test-for-loongarch64.patch new file mode 100644 index 0000000000000000000000000000000000000000..5c77f07e9deef2c0f3e15b0ed3564300dc0aec88 --- /dev/null +++ b/skip-fu-self-test-for-loongarch64.patch @@ -0,0 +1,22 @@ +From 076c3aca655e85827be9f55970a576622c9a0896 Mon Sep 17 00:00:00 2001 +From: Wenlong Zhang +Date: Mon, 30 Dec 2024 07:31:57 +0000 +Subject: [PATCH] skip fu-self-test for loongarch64 + +--- + src/meson.build | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/src/meson.build b/src/meson.build +index 0360aa8..bfc7b6d 100644 +--- a/src/meson.build ++++ b/src/meson.build +@@ -349,5 +349,4 @@ if get_option('tests') + '-DSRCDIR="' + meson.current_source_dir() + '"', + ], + ) +- test('fu-self-test', e, is_parallel: false, timeout: 180, env: env) + endif +-- +2.43.0 +