containerd:disable go module build as go1.17 enable it by default
Signed-off-by: xiadanni <xiadanni1@huawei.com>
This commit is contained in:
parent
92442044c0
commit
21b8ac999c
@ -2,7 +2,7 @@
|
|||||||
%global debug_package %{nil}
|
%global debug_package %{nil}
|
||||||
Version: 1.2.0
|
Version: 1.2.0
|
||||||
Name: containerd
|
Name: containerd
|
||||||
Release: 108
|
Release: 109
|
||||||
Summary: An industry-standard container runtime
|
Summary: An industry-standard container runtime
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
URL: https://containerd.io
|
URL: https://containerd.io
|
||||||
@ -36,6 +36,7 @@ GO_BUILD_PATH=$PWD/_build
|
|||||||
install -m 0755 -vd $(dirname $GO_BUILD_PATH/src/%{goipath})
|
install -m 0755 -vd $(dirname $GO_BUILD_PATH/src/%{goipath})
|
||||||
ln -fs $PWD $GO_BUILD_PATH/src/%{goipath}
|
ln -fs $PWD $GO_BUILD_PATH/src/%{goipath}
|
||||||
cd $GO_BUILD_PATH/src/%{goipath}
|
cd $GO_BUILD_PATH/src/%{goipath}
|
||||||
|
export GO111MODULE=off
|
||||||
export GOPATH=$GO_BUILD_PATH:%{gopath}
|
export GOPATH=$GO_BUILD_PATH:%{gopath}
|
||||||
export BUILDTAGS="no_btrfs no_cri"
|
export BUILDTAGS="no_btrfs no_cri"
|
||||||
make
|
make
|
||||||
@ -51,6 +52,12 @@ install -p -m 755 bin/containerd-shim $RPM_BUILD_ROOT/%{_bindir}/containerd-shim
|
|||||||
%{_bindir}/containerd-shim
|
%{_bindir}/containerd-shim
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jan 10 2022 xiadanni<xiadanni1@huawei.com> - 1.2.0-109
|
||||||
|
- Type:bugfix
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:disable go module build
|
||||||
|
|
||||||
* Thu Mar 18 2021 xiadanni<xiadanni1@huawei.com> - 1.2.0-108
|
* Thu Mar 18 2021 xiadanni<xiadanni1@huawei.com> - 1.2.0-108
|
||||||
- Type:bugfix
|
- Type:bugfix
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
aec25f8e033c265f30268f7170d83095404adcef
|
bb2a17c091145aad503cc7637ea6641c2aaadcfc
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user