Compare commits
No commits in common. "2cb033e105d058aa986ad93a5a0a30592615cc7f" and "8cac1c36efccea8d92e8a7ee812b73d5f4c5fd81" have entirely different histories.
2cb033e105
...
8cac1c36ef
33
delve.spec
Normal file → Executable file
33
delve.spec
Normal file → Executable file
@ -1,22 +1,21 @@
|
|||||||
%global goipath github.com/go-delve/delve
|
%global goipath github.com/go-delve/delve
|
||||||
%global gobuild go build -mod=vendor -buildmode=pie -ldflags "-s -w -linkmode=external -extldflags '-Wl,-z,relro -Wl,-z,now'"
|
%global gobuild go build -mod=vendor
|
||||||
%global debug_package %{nil}
|
%global debug_package %{nil}
|
||||||
|
|
||||||
Name: delve
|
Name: delve
|
||||||
Version: 1.22.0
|
Version: 1.9.1
|
||||||
Release: 3
|
Release: 1
|
||||||
Summary: A debugger for the Go programming language
|
Summary: A debugger for the Go programming language
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/go-delve/delve
|
URL: https://github.com/go-delve/delve
|
||||||
Source0: https://github.com/go-delve/delve/archive/v%{version}/%{name}-%{version}.tar.gz
|
Source0: https://github.com/go-delve/delve/archive/refs/tags/v1.9.1.tar.gz
|
||||||
Patch1: support-for-loongarch.patch
|
|
||||||
Patch2: support-for-riscv.patch
|
|
||||||
|
|
||||||
BuildRequires: gcc glibc
|
BuildRequires: gcc glibc
|
||||||
BuildRequires: golang >= 1.16
|
BuildRequires: golang >= 1.16
|
||||||
Requires: glibc
|
Requires: glibc
|
||||||
|
|
||||||
Provides: %{name} = %{version}-%{release}
|
Provides: %{name} = %{version}-%{release}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
delve is a debugger for the Go programming language
|
delve is a debugger for the Go programming language
|
||||||
|
|
||||||
@ -24,12 +23,7 @@ delve is a debugger for the Go programming language
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%ifarch loongarch64
|
|
||||||
%patch1 -p1
|
|
||||||
%endif
|
|
||||||
%ifarch riscv64
|
|
||||||
%patch -P2 -p1
|
|
||||||
%endif
|
|
||||||
%build
|
%build
|
||||||
%gobuild -o _bin/dlv %{goipath}/cmd/dlv
|
%gobuild -o _bin/dlv %{goipath}/cmd/dlv
|
||||||
|
|
||||||
@ -50,21 +44,6 @@ rm -rf %{buildroot}
|
|||||||
%doc Documentation/*
|
%doc Documentation/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Aug 29 2022 jinzhiguang <jinzhiguang@kylinos.cn> - 1.9.1-1
|
||||||
- update to v1.9.1
|
- update to v1.9.1
|
||||||
|
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user