!28 修复loongarch64平台的patch在x86_64或其他平台编译出来的源码包中丢失的问题

From: @nebd 
Reviewed-by: @dillon_chen 
Signed-off-by: @dillon_chen
This commit is contained in:
openeuler-ci-bot 2024-06-07 06:35:24 +00:00 committed by Gitee
commit d0a1545d8a
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: debugedit
Version: 5.0
Release: 6
Release: 7
Summary: Tools for debuginfo creation
License: GPL-2.0-or-later and LGPL-2.1-only and GPL-3.0-only
Group: Applications
@ -21,9 +21,7 @@ Patch0: tests-Handle-zero-directory-entry-in-.debug_line-DWA.patch
Patch1: find-debuginfo.sh-decompress-DWARF-compressed-ELF-se.patch
Patch6000: backport-Fix-u-option.patch
%ifarch loongarch64
Patch9000: add-loongarch-support-for-debugedit.patch
%endif
%description
Debugedit provides programs and scripts for creating debuginfo and
@ -31,7 +29,13 @@ source file distributions, collect build-ids and rewrite source
paths in DWARF data for debugging, tracing and profiling.
%prep
%autosetup -p1
%setup -q
%patch0 -p1
%patch1 -p1
%patch6000 -p1
%ifarch loongarch64
%patch9000 -p1
%endif
%build
autoreconf -f -v -i
@ -67,6 +71,9 @@ make check %{?_smp_mflags}
%{_rpmconfigdir}/debugedit
%changelog
* Tue May 28 2024 shaojiansong <shaojiansong@kylinos.cn> - 5.0-7
- Fix lack of loongarch64 patch files in src.rpm package which is build from any platform.
* Fri Jan 6 2023 Wenlong Zhang<zhangwenlong@loongson.cn> - 5.0-6
- add loongarch64 support for debugedit