Fix lack of loongarch64 patch files in src.rpm package which is build from any platform.
Signed-off-by: 孤独的大河马在躺平 <shaojiansong@kylinos.cn>
This commit is contained in:
parent
c110f5e42f
commit
4e87d80348
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user