From 6b2a64b8051f65ebec0ff52e8c3b363573c49864 Mon Sep 17 00:00:00 2001 From: wangxiao65 Date: Wed, 4 Jun 2025 16:28:17 +0800 Subject: [PATCH] use patch command to apply patches for consistency in context --- crash.spec | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/crash.spec b/crash.spec index 73c3826..72cb9bf 100644 --- a/crash.spec +++ b/crash.spec @@ -1,6 +1,6 @@ Name: crash Version: 8.0.5 -Release: 7 +Release: 8 Summary: Linux kernel crash utility. License: GPLv3 URL: https://crash-utility.github.io @@ -9,12 +9,8 @@ Source1: http://ftp.gnu.org/gnu/gdb/gdb-10.2.tar.gz Patch0: 0000-lzo_snappy.patch Patch1: 0001-add-SDEI-stack-resolution.patch -## %ifarch sw_64 Patch2: 0002-crash-8.0.2-sw.patch -## %endif -## %ifarch loongarch64 Patch3: 0003-crash-8.0.4-add-support-for-loongarch64.patch -## %endif Patch4: 0004-arm64-fix-a-potential-segfault-when-unwind-frame.patch Patch5: 0005-arm64-fix-SDEI-stack-frame-unwind-while-UNW_4_14-is-.patch Patch9001: huawei-fix-ps-error-when-mm_struct.rss_stat-is-lazy-initial.patch @@ -60,7 +56,9 @@ created by manufacturer-specific firmware. %patch 3 -p1 %endif -%autopatch -m4 -p1 +%patch 4 -p1 +%patch 5 -p1 +%patch 9001 -p1 %build cp %{SOURCE1} . @@ -95,6 +93,9 @@ install -D -m 0644 defs.h %{buildroot}%{_includedir}/%{name}/defs.h %{_mandir}/man8/crash.8* %changelog +* Wed Jun 04 2025 wangxiao - 8.0.5-8 +- use patch command to apply patches for consistency in context + * Wed May 21 2025 zhangjian - 8.0.5-7 - fix ps error when mm_struct.rss_stat is lazy initialized -- Gitee