diff --git a/crash.spec b/crash.spec index 526505a2d2dd104ba0134393a67fa5db8f0ab42d..73f4de3738a07863dc114137776f0d0703a9e64b 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,28 @@ created by manufacturer-specific firmware. %package_help %prep -%autosetup -n %{name}-%{version} -p1 +%setup -n %{name}-%{version} + +%patch -P 1 -p1 +%patch -P 2 -p1 + +%ifarch sw_64 +%patch -P 3 -p1 +%endif + +%patch -P 4 -p1 + +%ifarch riscv64 +%patch -P 5 -p1 +%endif + +%ifarch loongarch64 +%patch -P 6 -p1 +%endif + +%patch -P 7 -p1 +%patch -P 8 -p1 +%patch -P 9 -p1 %build cp %{SOURCE1} . @@ -87,6 +102,9 @@ install -D -m 0644 defs.h %{buildroot}%{_includedir}/%{name}/defs.h %{_mandir}/man8/crash.8* %changelog +* Wed Dec 11 2024 shenzhongwei - 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