From bd57e69374552c713f39d81c39aa2f9b605ade5a Mon Sep 17 00:00:00 2001 From: eabdullin Date: Mon, 23 Sep 2024 06:08:45 +0000 Subject: [PATCH] import UBI delve-1.21.2-4.module+el8.10.0+22329+6cd5c9c6 --- SPECS/delve.spec | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/SPECS/delve.spec b/SPECS/delve.spec index b4118fe..83cb8cd 100644 --- a/SPECS/delve.spec +++ b/SPECS/delve.spec @@ -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 - 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 - 1.21.2-3 - Skip an additional test as it's breaking in the CI system. - Modify the name of the patch.