From 8bc3bf934eb70567c3c9edd39e644b4e2fb3c34b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B2=88=E4=BB=B2=E4=BC=9F?= Date: Wed, 11 Dec 2024 15:03:27 +0800 Subject: [PATCH] * Wed Dec 11 2024 shenzhongwei - 8.0.2-3 --- crash.spec | 32 ++++++++++++++++++++++++-------- 1 file changed, 24 insertions(+), 8 deletions(-) diff --git a/crash.spec b/crash.spec index a371ca8..61f2cc6 100644 --- a/crash.spec +++ b/crash.spec @@ -1,6 +1,6 @@ Name: crash Version: 8.0.2 -Release: 4 +Release: 5 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-Fix-compilation-error-due-to-new-strlcpy-function-th.patch BuildRequires: ncurses-devel zlib-devel lzo-devel snappy-devel texinfo libzstd-devel @@ -50,7 +44,26 @@ 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 %build cp %{SOURCE1} . @@ -85,6 +98,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-5 +- include all patches in the source package. + * Tue Aug 1 2023 chenhaixiang - 8.0.2-4 - Fix compilation error due to new strlcpy function that glibc added -- Gitee