import UBI delve-1.21.2-4.module+el8.10.0+22329+6cd5c9c6

This commit is contained in:
eabdullin 2024-09-23 06:08:45 +00:00
parent a24b0d1781
commit bd57e69374

View File

@ -4,7 +4,7 @@
Name: delve
Version: 1.21.2
Release: 3%{?dist}
Release: 4%{?dist}
Summary: A debugger for the Go programming language
License: MIT
@ -55,12 +55,16 @@ install -Dpm 0755 bin/dlv %{buildroot}%{_bindir}/dlv
%check
export GO111MODULE=off
export GOPATH="%{_builddir}/%{name}-%{version}/_build"
cd "_build/src/github.com/go-delve/%{name}"
for d in $(go list %{?exp} ./... | grep -v cmd | grep -v scripts); do
go test %{?exp} ${d}
done
# Temporary - FIXME
# Buildroot Go is not compatible with this version of delve tests.
# We'll have to rely on downstream QE tests until delve 1.22
# lands in the buildroot.
#export GO111MODULE=off
#export GOPATH="%{_builddir}/%{name}-%{version}/_build"
#cd "_build/src/github.com/go-delve/%{name}"
#for d in $(go list %{?exp} ./... | grep -v cmd | grep -v scripts); do
# go test %{?exp} ${d}
#done
%files
@ -71,6 +75,10 @@ done
%changelog
* Wed Sep 18 2024 David Benoit <dbenoit@redhat.com> - 1.21.2-4
- Skip tests in %check due to incompatible Go version in buildroot (temporary).
- Resolves: RHEL-59518
* 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.