From 7b3040b04dfc5961aa5f219c0b2fa713f8dd5bbf Mon Sep 17 00:00:00 2001 From: wangxiao65 Date: Tue, 17 Dec 2024 08:41:25 +0000 Subject: [PATCH] include all patches in the source package --- crash.spec | 33 +++++++++++++++++++++++++-------- 1 file changed, 25 insertions(+), 8 deletions(-) diff --git a/crash.spec b/crash.spec index 526505a..dd2654b 100644 --- a/crash.spec +++ b/crash.spec @@ -1,6 +1,6 @@ Name: crash Version: 8.0.2 -Release: 3 +Release: 4 Summary: Linux kernel crash utility. License: GPLv3 URL: https://crash-utility.github.io @@ -9,16 +9,10 @@ Source1: http://ftp.gnu.org/gnu/gdb/gdb-10.2.tar.gz Patch1: 0000-lzo_snappy.patch Patch2: 0001-add-SDEI-stack-resolution.patch -%ifarch sw_64 Patch3: 0002-crash-8.0.2-sw.patch -%endif Patch4: 0003-arm64-fix-backtraces-of-KASAN-kernel-dumpfile-truncated.patch -%ifarch riscv64 Patch5: 0004-riscv-support.patch -%endif -%ifarch loongarch64 Patch6: 0005-crash-add-loongarch-support.patch -%endif Patch7: 0006-arm64-Fix-again-segfault-in-arm64_is_kernel_exceptio.patch Patch8: 0007-arm64-fix-a-potential-segfault-when-unwind-frame.patch Patch9: 0008-arm64-fix-SDEI-stack-frame-unwind-while-UNW_4_14-is-.patch @@ -52,7 +46,27 @@ created by manufacturer-specific firmware. %package_help %prep -%autosetup -n %{name}-%{version} -p1 +%setup -n %{name}-%{version} +%patch -P1 -p1 +%patch -P2 -p1 + +%ifarch sw_64 +%patch -P3 -p1 +%endif + +%patch -P4 -p1 + +%ifarch riscv64 +%patch -P5 -p1 +%endif + +%ifarch loongarch64 +%patch -P6 -p1 +%endif + +%patch -P7 -p1 +%patch -P8 -p1 +%patch -P9 -p1 %build cp %{SOURCE1} . @@ -87,6 +101,9 @@ install -D -m 0644 defs.h %{buildroot}%{_includedir}/%{name}/defs.h %{_mandir}/man8/crash.8* %changelog +* Tue Dec 17 2024 wangxiao - 8.0.2-4 +- include all patches in the source package + * Fri Nov 29 2024 wangxiao - 8.0.2-3 - arm64: fix SDEI stack frame unwind while UNW_4_14 is set -- Gitee