diff --git a/crash.spec b/crash.spec index 73c3826dd411ac74097096b1e09a251d9cee90dc..72cb9bfbff57ca6b7414a6c3eace76ed0c87763e 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