!135 [sync] PR-133: 同步PR!103修复源码包同源异构问题

From: @openeuler-sync-bot 
Reviewed-by: @wangbin224 
Signed-off-by: @wangbin224
This commit is contained in:
openeuler-ci-bot 2024-12-20 02:04:48 +00:00 committed by Gitee
commit cf1ac9c504
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: crash
Version: 8.0.4
Release: 9
Release: 10
Summary: Linux kernel crash utility.
License: GPLv3
URL: https://crash-utility.github.io
@ -9,13 +9,13 @@ Source1: http://ftp.gnu.org/gnu/gdb/gdb-10.2.tar.gz
Patch0: 0000-lzo_snappy.patch
Patch1: 0001-add-SDEI-stack-resolution.patch
%ifarch sw_64
##%ifarch sw_64
Patch2: 0002-crash-8.0.2-sw.patch
%endif
%ifarch loongarch64
##%endif
##%ifarch loongarch64
Patch3: 0003-crash-8.0.4-add-support-for-loongarch64.patch
Patch4: 0004-support-vmp_area_list-replaced-with-VMALLOC_START.patch
%endif
##%endif
Patch5: 0005-gdb-ignore-Wenum-constexpr-conversion-in-enum-flags.patch
Patch6: 0006-arm64-fix-a-potential-segfault-when-unwind-frame.patch
Patch7: 0007-arm64-fix-SDEI-stack-frame-unwind-while-UNW_4_14-is-.patch
@ -49,7 +49,20 @@ created by manufacturer-specific firmware.
%package_help
%prep
%autosetup -n %{name}-%{version} -p1
%setup -n %{name}-%{version}
%patch 0 -p1
%patch 1 -p1
%ifarch sw_64
%patch 2 -p1
%endif
%ifarch loongarch64
%patch 3 -p1
%patch 4 -p1
%endif
%autopatch -m5 -p1
%build
cp %{SOURCE1} .
@ -84,6 +97,10 @@ install -D -m 0644 defs.h %{buildroot}%{_includedir}/%{name}/defs.h
%{_mandir}/man8/crash.8*
%changelog
* Thu Dec 05 2024 shenzhongwei <shenzhongwei@kylinos.cn> - 8.0.4-10
- remove the architecture judgment in the patches section;
- include all patches in the source package.
* Fri Nov 29 2024 wangxiao <wangxiao184@h-partners.com> - 8.0.4-9
- arm64: fix SDEI stack frame unwind while UNW_4_14 is set