diff --git a/crash.spec b/crash.spec index bc68db87d0ff5da95e887bcad32158ef38ee9626..4dad4cb81ab7857f9c8446b195a55a330bddf926 100644 --- a/crash.spec +++ b/crash.spec @@ -1,6 +1,6 @@ Name: crash Version: 8.0.2 -Release: 2 +Release: 3 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 @@ -51,7 +45,27 @@ 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 %build cp %{SOURCE1} . @@ -86,6 +100,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-3 +- include all patches in the source package. + * Tue Jul 25 2023 chenhaixiang - 8.0.2-2 - arm64: Fix again segfault in arm64_is_kernel_exception_frame() when corrupt stack pointer address is given