include all patches in the source package

(cherry picked from commit 7b3040b04dfc5961aa5f219c0b2fa713f8dd5bbf)
This commit is contained in:
wangxiao65 2024-12-17 08:41:25 +00:00 committed by openeuler-sync-bot
parent 933b0ea4ff
commit 18e9ff774a

View File

@ -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,27 @@ created by manufacturer-specific firmware.
%package_help
%prep
%autosetup -n %{name}-%{version} -p1
%setup -n %{name}-%{version}
%patch -P1 -p1
%patch -P2 -p1
%ifarch sw_64
%patch -P3 -p1
%endif
%patch -P4 -p1
%ifarch riscv64
%patch -P5 -p1
%endif
%ifarch loongarch64
%patch -P6 -p1
%endif
%patch -P7 -p1
%patch -P8 -p1
%patch -P9 -p1
%build
cp %{SOURCE1} .
@ -87,6 +101,9 @@ install -D -m 0644 defs.h %{buildroot}%{_includedir}/%{name}/defs.h
%{_mandir}/man8/crash.8*
%changelog
* Tue Dec 17 2024 wangxiao <wangxiao184@h-partners.com> - 8.0.2-4
- include all patches in the source package
* Fri Nov 29 2024 wangxiao <wangxiao184@h-partners.com> - 8.0.2-3
- arm64: fix SDEI stack frame unwind while UNW_4_14 is set