Browse Source

add go.env as new GOPROXY file

Signed-off-by: Toshaan Bharvani <toshaan@powerel.org>
master
Toshaan Bharvani 11 months ago
parent
commit
2ea488b79c
  1. 2
      SPECS/golang.spec

2
SPECS/golang.spec

@ -257,7 +257,7 @@ rm -rf $RPM_BUILD_ROOT @@ -257,7 +257,7 @@ rm -rf $RPM_BUILD_ROOT
rm -rf pkg/obj/go-build/*
mkdir -p $RPM_BUILD_ROOT%{_bindir}
mkdir -p $RPM_BUILD_ROOT%{goroot}
cp -apv api bin doc lib pkg src misc test VERSION $RPM_BUILD_ROOT%{goroot}
cp -apv api bin doc lib pkg src misc test VERSION go.env $RPM_BUILD_ROOT%{goroot}

echo "== 2 =="
find $RPM_BUILD_ROOT%{goroot}/src -exec touch -r $RPM_BUILD_ROOT%{goroot}/VERSION "{}" \;

Loading…
Cancel
Save