From 5ccb3d6f3f0b901a068ca41dc2c4e397f7a47270 Mon Sep 17 00:00:00 2001 From: Derek Parker Date: Wed, 20 Feb 2019 14:30:38 -0800 Subject: [PATCH] Switch back to using gochecks --- delve.spec | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/delve.spec b/delve.spec index 82a4361..a8202df 100644 --- a/delve.spec +++ b/delve.spec @@ -71,17 +71,7 @@ install -Dpm 0755 _bin/dlv %{buildroot}%{_bindir}/dlv %if %{with check} %check -# Copy to $GOPATH since modules aren't supported. -export GOPATH=%{gopath} -export GO111MODULE=off -mkdir -p %{gopath}/src/$(dirname %{goipath}) -ln -s $(pwd)/. %{gopath}/src/%{goipath} -cd %{gopath}/src/%{goipath} -for i in $(go list ./... | grep -v scripts | grep -v cmd); do - pushd .${i##%{goipath}} - %{gotest} - popd -done +%gochecks %endif