Projects
openEuler:Mainline
debugedit
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 2
View file
_service:tar_scm:debugedit.spec
Changed
@@ -1,6 +1,6 @@ Name: debugedit Version: 5.0 -Release: 2 +Release: 6 Summary: Tools for debuginfo creation License: GPL-2.0-or-later and LGPL-2.1-only and GPL-3.0-only Group: Applications @@ -20,6 +20,11 @@ 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 source file distributions, collect build-ids and rewrite source @@ -37,6 +42,10 @@ %make_install cd %{buildroot}%{_bindir} ln -s find-debuginfo find-debuginfo.sh +cd %{buildroot} +mkdir -p %{buildroot}%{_rpmconfigdir} +ln -s %{_bindir}/find-debuginfo %{buildroot}%{_rpmconfigdir}/find-debuginfo.sh +ln -s %{_bindir}/debugedit %{buildroot}%{_rpmconfigdir}/debugedit %check sed -i 's/^\(C\|LD\)FLAGS=.*/\1FLAGS=""/' tests/atlocal @@ -54,8 +63,22 @@ %{_mandir}/man1/debugedit.1* %{_mandir}/man1/sepdebugcrcfix.1* %{_mandir}/man1/find-debuginfo.1* +%{_rpmconfigdir}/find-debuginfo.sh +%{_rpmconfigdir}/debugedit %changelog +* Fri Jan 6 2023 Wenlong Zhang<zhangwenlong@loongson.cn> - 5.0-6 +- add loongarch64 support for debugedit + +* Mon Nov 14 2022 Wenlong Zhang <zhangwenlong@loongson.cn> - 5.0-5 +- Skip some unsupported tests for loongarch + +* Tue Nov 08 2022 renhongxun <renhongxun@h-partners.com> 5.0-4 +- make it successfully to find debugedit when running /usr/lib/rpm/find-debuginfo.sh + +* Fri Oct 21 2022 renhongxun <renhongxun@h-partners.com> 5.0-3 +- fix -u option + * Tue Jan 11 2022 renhongxun <renhongxun@huawei.com> 5.0-2 - bugfix
View file
_service:tar_scm:add-loongarch-support-for-debugedit.patch
Added
@@ -0,0 +1,29 @@ +From 0862098a423f3324b5e8024f94e42ebcc1ec1697 Mon Sep 17 00:00:00 2001 +From: Wenlong Zhang <zhangwenlong@loongson.cn> +Date: Mon, 9 Jan 2023 18:40:28 +0800 +Subject: PATCH add loongarch support for debugedit + +--- + tools/debugedit.c | 6 ++++++ + 1 file changed, 6 insertions(+) + +diff --git a/tools/debugedit.c b/tools/debugedit.c +index 668777a..911e84e 100644 +--- a/tools/debugedit.c ++++ b/tools/debugedit.c +@@ -618,6 +618,12 @@ setup_relbuf (DSO *dso, debug_section *sec, int *reltype) + goto fail; + break; + #endif ++#if defined(EM_LOONGARCH) ++ case EM_LOONGARCH: ++ if (rtype != R_LARCH_32) ++ goto fail; ++ break; ++#endif + #if defined(EM_MCST_ELBRUS) && defined(R_E2K_32_ABS) + case EM_MCST_ELBRUS: + if (rtype != R_E2K_32_ABS) +-- +2.33.0 +
View file
_service:tar_scm:backport-Fix-u-option.patch
Added
@@ -0,0 +1,32 @@ +From dd64ac131aebbc31233d1c5f9317aaee35764374 Mon Sep 17 00:00:00 2001 +From: Allan McRae <allan@archlinux.org> +Date: Sun, 2 Jan 2022 15:23:34 +1000 +Subject: PATCH Fix -u option + +The -u option was missing from optionsChars resulting in it being +unrecognised. + +$ debugedit -u +debugedit: invalid option -- 'u' + +Signed-off-by: Allan McRae <allan@archlinux.org> +--- + tools/debugedit.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tools/debugedit.c b/tools/debugedit.c +index a0e86d3..642b29d 100644 +--- a/tools/debugedit.c ++++ b/tools/debugedit.c +@@ -3047,7 +3047,7 @@ static struct option optionsTable = + { NULL, 0, 0, 0 } + }; + +-static const char *optionsChars = "b:d:l:is:nV?"; ++static const char *optionsChars = "b:d:l:is:nV?u"; + + static const char *helpText = + "Usage: %s OPTION... FILE\n" +-- +2.27.0 +
View file
_service
Changed
@@ -2,7 +2,7 @@ <service name="tar_scm"> <param name="scm">git</param> <param name="url">git@gitee.com:src-openeuler/debugedit.git</param> - <param name="revision">0e1b3a07c53e57f4d1129c4b7e1ccbc05b0113b9</param> + <param name="revision">master</param> <param name="exclude">*</param> <param name="extract">*</param> </service>
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2