add GO111MODULE=off for build in golang 1.17.3
This commit is contained in:
parent
d7b6ee7dd9
commit
d13f0e239e
11
docker.spec
11
docker.spec
@ -1,6 +1,6 @@
|
|||||||
Name: docker-engine
|
Name: docker-engine
|
||||||
Version: 18.09.0
|
Version: 18.09.0
|
||||||
Release: 118
|
Release: 119
|
||||||
Summary: The open-source application container engine
|
Summary: The open-source application container engine
|
||||||
Group: Tools/Docker
|
Group: Tools/Docker
|
||||||
|
|
||||||
@ -56,6 +56,9 @@ cp %{SOURCE5} .
|
|||||||
|
|
||||||
sh ./apply-patches
|
sh ./apply-patches
|
||||||
|
|
||||||
|
# for golang 1.17.3, we need set GO111MODULE=off
|
||||||
|
export GO111MODULE=off
|
||||||
|
|
||||||
# build docker engine
|
# build docker engine
|
||||||
WORKDIR=$(pwd)
|
WORKDIR=$(pwd)
|
||||||
export VERSION=$(cat VERSION)
|
export VERSION=$(cat VERSION)
|
||||||
@ -212,6 +215,12 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Dec 28 2021 chenjiankun<chenjiankun1@huawei.com> - 18.09.0-119
|
||||||
|
- Type:bugfix
|
||||||
|
- CVE:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:disable go module build
|
||||||
|
|
||||||
* Sun Sep 26 2021 xiadanni<xiadanni1@huawei.com> - 18.09.0-118
|
* Sun Sep 26 2021 xiadanni<xiadanni1@huawei.com> - 18.09.0-118
|
||||||
- Type:bugfix
|
- Type:bugfix
|
||||||
- CVE:NA
|
- CVE:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user