|
|
@ -1,5 +1,9 @@
|
|
|
|
|
|
|
|
%ifarch ppc64le
|
|
|
|
|
|
|
|
%global exp "-tags=exp.linuxppc64le"
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
Name: delve
|
|
|
|
Name: delve
|
|
|
|
Version: 1.20.2
|
|
|
|
Version: 1.22.1
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: A debugger for the Go programming language
|
|
|
|
Summary: A debugger for the Go programming language
|
|
|
|
|
|
|
|
|
|
|
@ -7,7 +11,7 @@ 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}.tar.gz#/%{name}-%{version}.tar.gz
|
|
|
|
Source0: https://github.com/go-delve/delve/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
|
|
ExcludeArch: ppc64le s390x aarch64 %{ix86} armv7hl
|
|
|
|
ExcludeArch: s390x %{ix86} armv7hl
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: compiler(go-compiler)
|
|
|
|
BuildRequires: compiler(go-compiler)
|
|
|
|
BuildRequires: git
|
|
|
|
BuildRequires: git
|
|
|
@ -15,6 +19,8 @@ BuildRequires: lsof
|
|
|
|
|
|
|
|
|
|
|
|
Provides: dlv = %{version}
|
|
|
|
Provides: dlv = %{version}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Patch0001: modify-tests.patch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
Delve is a debugger for the Go programming language. The goal of the project
|
|
|
|
Delve is a debugger for the Go programming language. The goal of the project
|
|
|
@ -26,6 +32,7 @@ much as possible.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%autopatch -p1
|
|
|
|
|
|
|
|
|
|
|
|
rm -rf go.mod
|
|
|
|
rm -rf go.mod
|
|
|
|
mv vendor %{_builddir}/src
|
|
|
|
mv vendor %{_builddir}/src
|
|
|
@ -38,7 +45,7 @@ mv %{_builddir}/src %{_builddir}/%{name}-%{version}/_build/src
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
export GO111MODULE=off
|
|
|
|
export GO111MODULE=off
|
|
|
|
export GOPATH="%{_builddir}/%{name}-%{version}/_build"
|
|
|
|
export GOPATH="%{_builddir}/%{name}-%{version}/_build"
|
|
|
|
%gobuild -o bin/dlv github.com/go-delve/delve/cmd/dlv
|
|
|
|
%gobuild %{?exp} -o bin/dlv github.com/go-delve/delve/cmd/dlv
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
@ -48,13 +55,12 @@ install -Dpm 0755 bin/dlv %{buildroot}%{_bindir}/dlv
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
## Related: rhbz#1922455
|
|
|
|
export GO111MODULE=off
|
|
|
|
# export GO111MODULE=off
|
|
|
|
export GOPATH="%{_builddir}/%{name}-%{version}/_build"
|
|
|
|
# export GOPATH="%{_builddir}/%{name}-%{version}/_build"
|
|
|
|
cd "_build/src/github.com/go-delve/%{name}"
|
|
|
|
# cd "_build/src/github.com/go-delve/%{name}"
|
|
|
|
for d in $(go list %{?exp} ./... | grep -v cmd | grep -v scripts); do
|
|
|
|
# for d in $(go list ./... | grep -v cmd | grep -v scripts); do
|
|
|
|
go test %{?exp} ${d}
|
|
|
|
# go test ${d}
|
|
|
|
done
|
|
|
|
# done
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
@ -65,47 +71,55 @@ install -Dpm 0755 bin/dlv %{buildroot}%{_bindir}/dlv
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Fri Aug 16 2024 Alejandro Sáez <asm@redhat.com> - 1.22.1-1
|
|
|
|
|
|
|
|
- Rebase to 1.22.1
|
|
|
|
|
|
|
|
- Resolves: RHEL-54307
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 31 2024 Alejandro Sáez <asm@redhat.com> - 1.21.2-3
|
|
|
|
|
|
|
|
- Skip an additional test as it's breaking in the CI system.
|
|
|
|
|
|
|
|
- Modify the name of the patch.
|
|
|
|
|
|
|
|
- Resolves: RHEL-22820
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jan 26 2024 Alejandro Sáez <asm@redhat.com> - 1.21.2-2
|
|
|
|
|
|
|
|
- Fix: Remove architectures from exclude ExcludeArch
|
|
|
|
|
|
|
|
- Resolves: RHEL-22820
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jan 26 2024 Alejandro Sáez <asm@redhat.com> - 1.21.2-1
|
|
|
|
|
|
|
|
- Rebase to 1.21.2
|
|
|
|
|
|
|
|
- Add support for ppc64le and aarch64
|
|
|
|
|
|
|
|
- Enable the test suite
|
|
|
|
|
|
|
|
- Modify ports: Some CI systems complain about the usage of the 8888 port.
|
|
|
|
|
|
|
|
- Improve the way PPC64LE support is enabled.
|
|
|
|
|
|
|
|
- Resolves: RHEL-22820
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Dec 10 2023 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 1.20.2-1
|
|
|
|
|
|
|
|
- Rebuilt for MSVSphere 8.8
|
|
|
|
|
|
|
|
|
|
|
|
* Fri May 26 2023 Alejandro Sáez <asm@redhat.com> - 1.20.2-1
|
|
|
|
* Fri May 26 2023 Alejandro Sáez <asm@redhat.com> - 1.20.2-1
|
|
|
|
- Rebase to 1.20.2
|
|
|
|
- Rebase to 1.20.2
|
|
|
|
- Resolves: rhbz#2186496
|
|
|
|
- Resolves: rhbz#2186495
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Sep 30 2022 Alejandro Sáez <asm@redhat.com> - 1.9.1-1
|
|
|
|
* Fri Sep 30 2022 Alejandro Sáez <asm@redhat.com> - 1.9.1-1
|
|
|
|
- Rebase to 1.9.1
|
|
|
|
- Rebase to 1.9.1
|
|
|
|
- Related: rhbz#2131028
|
|
|
|
- Related: rhbz#2131026
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 15 2022 Alejandro Sáez <asm@redhat.com> - 1.8.3-1
|
|
|
|
* Wed Apr 27 2022 Alejandro Sáez <asm@redhat.com> - 1.8.3-1
|
|
|
|
- Rebase to 1.8.3
|
|
|
|
- Rebase to 1.8.3
|
|
|
|
- Related: rhbz#2098063
|
|
|
|
- Resolves: rhbz#2077956
|
|
|
|
|
|
|
|
- Resolves: rhbz#2076501
|
|
|
|
* Wed Dec 22 2021 Alejandro Sáez <asm@redhat.com> - 1.7.3-1
|
|
|
|
|
|
|
|
- Rebase to 1.7.3
|
|
|
|
|
|
|
|
- Related: rhbz#2031116
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Nov 05 2021 Alejandro Sáez <asm@redhat.com> - 1.7.2-1
|
|
|
|
* Thu Oct 14 2021 Alejandro Sáez <asm@redhat.com> - 1.7.2-1
|
|
|
|
- Rebase to 1.7.2
|
|
|
|
- Rebase to 1.7.2
|
|
|
|
- Related: rhbz#2014087
|
|
|
|
- Related: rhbz#2014088
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.6.0-5
|
|
|
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jun 22 2021 Mohan Boddu <mboddu@redhat.com> - 1.6.0-4
|
|
|
|
|
|
|
|
- Rebuilt for RHEL 9 BETA for openssl 3.0
|
|
|
|
|
|
|
|
Related: rhbz#1971065
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 1.6.0-3
|
|
|
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Mar 30 2021 Alejandro Sáez <asm@redhat.com> - 1.6.0-2
|
|
|
|
|
|
|
|
- Rebase to 1.6.0
|
|
|
|
|
|
|
|
- Resolves: rhbz#1922455
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Mar 17 2021 Alejandro Sáez <asm@redhat.com> - 1.6.0-1
|
|
|
|
* Wed Mar 17 2021 Alejandro Sáez <asm@redhat.com> - 1.6.0-1
|
|
|
|
- Rebase to 1.6.0
|
|
|
|
- Rebase to 1.6.0
|
|
|
|
|
|
|
|
- Resolves: rhbz#1938071
|
|
|
|
- Removes golang-1.15.4-TestStepIntoWrapperForEmbeddedPointer.patch
|
|
|
|
- Removes golang-1.15.4-TestStepIntoWrapperForEmbeddedPointer.patch
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Nov 16 2020 David Benoit <dbenoit@redhat.com> - 1.5.0-2
|
|
|
|
* Tue Nov 24 2020 David Benoit <dbenoit@redhat.com> - 1.5.0-2
|
|
|
|
- Resolves: rhbz#1898257
|
|
|
|
- Add golang-1.15.4 related patch
|
|
|
|
|
|
|
|
- Resolves: rhbz#1901189
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Sep 09 2020 Alejandro Sáez <asm@redhat.com> - 1.5.0-1
|
|
|
|
* Wed Sep 09 2020 Alejandro Sáez <asm@redhat.com> - 1.5.0-1
|
|
|
|
- Rebase to 1.5.0
|
|
|
|
- Rebase to 1.5.0
|
|
|
|