Compare commits
10 Commits
8cac1c36ef
...
2cb033e105
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2cb033e105 | ||
|
|
ae06b6f3ef | ||
|
|
3da1770b88 | ||
|
|
ff1a0f8d19 | ||
|
|
f84d8092ae | ||
|
|
bdf23fe1d4 | ||
|
|
7928318760 | ||
|
|
9fa9fc609f | ||
|
|
a53a391283 | ||
|
|
390b50d12a |
Binary file not shown.
33
delve.spec
Executable file → Normal file
33
delve.spec
Executable file → Normal file
@ -1,21 +1,22 @@
|
||||
%global goipath github.com/go-delve/delve
|
||||
%global gobuild go build -mod=vendor
|
||||
%global gobuild go build -mod=vendor -buildmode=pie -ldflags "-s -w -linkmode=external -extldflags '-Wl,-z,relro -Wl,-z,now'"
|
||||
%global debug_package %{nil}
|
||||
|
||||
Name: delve
|
||||
Version: 1.9.1
|
||||
Release: 1
|
||||
Version: 1.22.0
|
||||
Release: 3
|
||||
Summary: A debugger for the Go programming language
|
||||
License: MIT
|
||||
URL: https://github.com/go-delve/delve
|
||||
Source0: https://github.com/go-delve/delve/archive/refs/tags/v1.9.1.tar.gz
|
||||
Source0: https://github.com/go-delve/delve/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||
Patch1: support-for-loongarch.patch
|
||||
Patch2: support-for-riscv.patch
|
||||
|
||||
BuildRequires: gcc glibc
|
||||
BuildRequires: golang >= 1.16
|
||||
Requires: glibc
|
||||
|
||||
Provides: %{name} = %{version}-%{release}
|
||||
|
||||
%description
|
||||
delve is a debugger for the Go programming language
|
||||
|
||||
@ -23,7 +24,12 @@ delve is a debugger for the Go programming language
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%ifarch loongarch64
|
||||
%patch1 -p1
|
||||
%endif
|
||||
%ifarch riscv64
|
||||
%patch -P2 -p1
|
||||
%endif
|
||||
%build
|
||||
%gobuild -o _bin/dlv %{goipath}/cmd/dlv
|
||||
|
||||
@ -44,6 +50,21 @@ rm -rf %{buildroot}
|
||||
%doc Documentation/*
|
||||
|
||||
%changelog
|
||||
* Thu Aug 01 2024 Lin Runze <lrzlin@163.com> - 1.22.0-3
|
||||
- add riscv64 support
|
||||
|
||||
* Sat Jun 8 2024 zhangxianjun <zhangxianjun@kylinos.cn> - 1.22.0-2
|
||||
- add loongarch64 support
|
||||
|
||||
* Thu Feb 22 2024 liyanan <liyanan61@h-partners.com> - 1.22.0-1
|
||||
- Upgrade version to 1.22.0
|
||||
|
||||
* Tue Sep 26 2023 xu_ping <707078654@qq.com> - 1.21.0-1
|
||||
- Upgrade version to 1.21.0
|
||||
|
||||
* Thu Feb 09 2023 wangkai <wangkai385@h-partners.com> - 1.9.1-2
|
||||
- Add PIE,BIND_NOW,RELRO,STRIP secure compilation options
|
||||
|
||||
* Mon Aug 29 2022 jinzhiguang <jinzhiguang@kylinos.cn> - 1.9.1-1
|
||||
- update to v1.9.1
|
||||
|
||||
|
||||
4423
support-for-loongarch.patch
Normal file
4423
support-for-loongarch.patch
Normal file
File diff suppressed because it is too large
Load Diff
5971
support-for-riscv.patch
Normal file
5971
support-for-riscv.patch
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user