Accepting request 879543 from home:jfkw:branches:devel:kubic

- Set GO111MODULE=auto to build with go1.16+
  * Default changed to GO111MODULE=on in go1.16
  * Set temporarily until using upstream version with go.mod

OBS-URL: https://build.opensuse.org/request/show/879543
OBS-URL: https://build.opensuse.org/package/show/devel:kubic/flannel?expand=0&rev=13
This commit is contained in:
Richard Brown 2021-03-17 11:13:21 +00:00 committed by Git OBS Bridge
parent 6c61abe463
commit f383dd1d8d
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Mar 17 01:25:43 UTC 2021 - Jeff Kowalczyk <jkowalczyk@suse.com>
- Set GO111MODULE=auto to build with go1.16+
* Default changed to GO111MODULE=on in go1.16
* Set temporarily until using upstream version with go.mod
-------------------------------------------------------------------
Fri Feb 26 09:43:39 UTC 2021 - Alexandre Vicenzi <alexandre.vicenzi@suse.com>

View File

@ -75,6 +75,9 @@ reduces the complexity of doing port mapping.
%build
gofmt -w -r "x -> \"%{version}\"" version/version.go
%{goprep} github.com/coreos/flannel
# go1.16+ default is GO111MODULE=on set to auto temporarily
# until using an upstream version with go.mod
export GO111MODULE=auto
%{gobuild}
%install