From 4e87d80348cd4ac17a79b2da6d11ee811e85efcf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=A4=E7=8B=AC=E7=9A=84=E5=A4=A7=E6=B2=B3=E9=A9=AC?= =?UTF-8?q?=E5=9C=A8=E8=BA=BA=E5=B9=B3?= Date: Tue, 28 May 2024 09:33:56 +0000 Subject: [PATCH] Fix lack of loongarch64 patch files in src.rpm package which is build from any platform. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 孤独的大河马在躺平 --- debugedit.spec | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/debugedit.spec b/debugedit.spec index e8e361a..b8b3a17 100644 --- a/debugedit.spec +++ b/debugedit.spec @@ -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 - 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 - 5.0-6 - add loongarch64 support for debugedit