From c8c9e6fa4b608bce5a9cea4e5a765bc54deb085c Mon Sep 17 00:00:00 2001 From: xiadanni Date: Mon, 10 Jan 2022 16:13:29 +0800 Subject: [PATCH] libnetwork:disable go module build as go1.17 enable it by default Signed-off-by: xiadanni (cherry picked from commit 83308b3aef2dc2d616a11c592d6da8fa0ac3be62) --- libnetwork.spec | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/libnetwork.spec b/libnetwork.spec index 9630934..18ca7ea 100644 --- a/libnetwork.spec +++ b/libnetwork.spec @@ -1,7 +1,7 @@ %define debug_package %{nil} Name: libnetwork Version: 0.8.0.dev.2 -Release: 102 +Release: 103 Summary: Proxy used for docker port mapping License: Apache License 2.0 URL: https://github.com/docker/libnetwork @@ -18,6 +18,7 @@ Obsoletes: docker-proxy %build cd libnetwork-d00ceed44cc447c77f25cdf5d59e83163bdcb4c9 +export GO111MODULE=off export CGO_ENABLED=0 export GOPATH=`pwd`/.gopath mkdir -p $GOPATH/src/github.com/docker/ @@ -41,11 +42,17 @@ install -p -m 755 libnetwork-d00ceed44cc447c77f25cdf5d59e83163bdcb4c9/docker-pro %{_bindir}/docker-proxy %changelog - * Thu Mar 18 2021 xiadanni 0.8.0.dev.2-102 - - Type:bugfix - - Id:NA - - SUG:NA - - DESC:compile option compliance +* Mon Jan 10 2022 xiadanni 0.8.0.dev.2-103 +- Type:bugfix +- Id:NA +- SUG:NA +- DESC:disable go module build + +* Thu Mar 18 2021 xiadanni 0.8.0.dev.2-102 +- Type:bugfix +- Id:NA +- SUG:NA +- DESC:compile option compliance * Thu Aug 20 2020 xiadanni 0.8.0.dev.2-101 - Type:cleancode -- Gitee