!28 修复loongarch64平台的patch在x86_64或其他平台编译出来的源码包中丢失的问题
From: @nebd Reviewed-by: @dillon_chen Signed-off-by: @dillon_chen
This commit is contained in:
commit
d0a1545d8a
@ -1,6 +1,6 @@
|
|||||||
Name: debugedit
|
Name: debugedit
|
||||||
Version: 5.0
|
Version: 5.0
|
||||||
Release: 6
|
Release: 7
|
||||||
Summary: Tools for debuginfo creation
|
Summary: Tools for debuginfo creation
|
||||||
License: GPL-2.0-or-later and LGPL-2.1-only and GPL-3.0-only
|
License: GPL-2.0-or-later and LGPL-2.1-only and GPL-3.0-only
|
||||||
Group: Applications
|
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
|
Patch1: find-debuginfo.sh-decompress-DWARF-compressed-ELF-se.patch
|
||||||
|
|
||||||
Patch6000: backport-Fix-u-option.patch
|
Patch6000: backport-Fix-u-option.patch
|
||||||
%ifarch loongarch64
|
|
||||||
Patch9000: add-loongarch-support-for-debugedit.patch
|
Patch9000: add-loongarch-support-for-debugedit.patch
|
||||||
%endif
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Debugedit provides programs and scripts for creating debuginfo and
|
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.
|
paths in DWARF data for debugging, tracing and profiling.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1
|
%setup -q
|
||||||
|
%patch0 -p1
|
||||||
|
%patch1 -p1
|
||||||
|
%patch6000 -p1
|
||||||
|
%ifarch loongarch64
|
||||||
|
%patch9000 -p1
|
||||||
|
%endif
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -f -v -i
|
autoreconf -f -v -i
|
||||||
@ -67,6 +71,9 @@ make check %{?_smp_mflags}
|
|||||||
%{_rpmconfigdir}/debugedit
|
%{_rpmconfigdir}/debugedit
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Jan 6 2023 Wenlong Zhang<zhangwenlong@loongson.cn> - 5.0-6
|
||||||
- add loongarch64 support for debugedit
|
- add loongarch64 support for debugedit
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user