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