Compare commits

..

No commits in common. "2cb033e105d058aa986ad93a5a0a30592615cc7f" and "8cac1c36efccea8d92e8a7ee812b73d5f4c5fd81" have entirely different histories.

4 changed files with 6 additions and 10421 deletions

33
delve.spec Normal file → Executable file
View File

@ -1,22 +1,21 @@
%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}
Name: delve
Version: 1.22.0
Release: 3
Version: 1.9.1
Release: 1
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/v%{version}/%{name}-%{version}.tar.gz
Patch1: support-for-loongarch.patch
Patch2: support-for-riscv.patch
Source0: https://github.com/go-delve/delve/archive/refs/tags/v1.9.1.tar.gz
BuildRequires: gcc glibc
BuildRequires: golang >= 1.16
Requires: glibc
Provides: %{name} = %{version}-%{release}
%description
delve is a debugger for the Go programming language
@ -24,12 +23,7 @@ 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
@ -50,21 +44,6 @@ 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

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff