From 8c1687f6d24e8704c05989f71bc579297f29cd21 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 14:58:25 +0800 Subject: [PATCH] include all patches in the source package. --- crash.spec | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) diff --git a/crash.spec b/crash.spec index bc6766c..8dcfe88 100644 --- a/crash.spec +++ b/crash.spec @@ -1,6 +1,6 @@ Name: crash Version: 7.3.0 -Release: 11 +Release: 12 Summary: Linux kernel crash utility. License: GPLv3 URL: https://crash-utility.github.io @@ -16,9 +16,7 @@ Patch6: add-SDEI-stack-resolution.patch Patch7: Handle-task_struct-cpu-member-changes-for-kernels-5..patch Patch8: 0001-CVE-2019-1010180-Add-bfd_get_file_size-to-get-archive-element-size.patch Patch9: 0002-CVE-2019-1010180-DWARF-reader-Reject-sections-with-invalid-sizes.patch -%ifarch sw_64 Patch10: crash-7.3.0-sw.patch -%endif Patch11: Fix-live-debugging-with-lockdown-integrity.patch Patch12: arm64-fix-backtraces-of-KASAN-kernel-dumpfile-truncated.patch Patch13: 0001-arm64-Fix-segfault-by-bt-command-with-offline-cpus.patch @@ -53,7 +51,23 @@ 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 +%patch -P 3 -p1 +%patch -P 4 -p1 +%patch -P 5 -p1 +%patch -P 6 -p1 +%patch -P 7 -p1 +%patch -P 8 -p1 +%patch -P 9 -p1 +%ifarch sw_64 +%patch -P 10 -p1 +%endif +%patch -P 11 -p1 +%patch -P 12 -p1 +%patch -P 13 -p1 +%patch -P 14 -p1 %build cp %{SOURCE1} . @@ -88,6 +102,9 @@ install -D -m 0644 defs.h %{buildroot}%{_includedir}/%{name}/defs.h %{_mandir}/man8/crash.8* %changelog +* Wed Dec 11 2024 shenzhongwei - 7.3.0-12 +- include all patches in the source package. + * Mon Jul 17 2023 chenhaixiang - 7.3.0-11 - arm64: Use VA_BITS for page_offset calculation -- Gitee