From cba293d65c351479e02b06fd653a9cce0746ee0f26e902758574b60d4cbc4961 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20=C4=8Cerm=C3=A1k?= Date: Wed, 6 Sep 2023 17:06:17 +0000 Subject: [PATCH 1/2] [info=032040288038a3b26b63a55529348657] OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/golang-stable-image?expand=0&rev=24 --- Dockerfile | 6 +++++- golang-stable-image.changes | 5 +++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 747f25e..f5315aa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,8 +25,12 @@ LABEL org.opensuse.release-stage="released" # endlabelprefix -RUN set -euo pipefail; zypper -n in --no-recommends go1.21 go1.21-doc go1.21-race make git-core; zypper -n clean; rm -rf /var/log/* +RUN set -euo pipefail; zypper -n in --no-recommends go1.21 go1.21-doc make git-core; zypper -n clean; rm -rf /var/log/* ENV GOLANG_VERSION="%%golang_version%%" ENV GOPATH="/go" ENV PATH="/go/bin:/usr/local/go/bin:/root/go/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" + +# only available on go's tsan_arch architectures +#!ArchExclusiveline x86_64 aarch64 s390x ppc64le +RUN set -euo pipefail; if zypper -n install go1.21-race; then zypper -n clean; rm -rf /var/log/*; fi diff --git a/golang-stable-image.changes b/golang-stable-image.changes index 26a5d56..8ab2be0 100644 --- a/golang-stable-image.changes +++ b/golang-stable-image.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Sep 6 16:26:08 UTC 2023 - Dirk Mueller + +- install the race subpackage only on architectures where it is available + ------------------------------------------------------------------- Thu Aug 17 13:41:09 UTC 2023 - Dirk Mueller From 925ec07774ecb101ca966d0aff816e6651f537859a8f1dae73596ed173805a99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20=C4=8Cerm=C3=A1k?= Date: Fri, 8 Sep 2023 12:28:29 +0000 Subject: [PATCH 2/2] [info=c919be8f1d5e46c5c0b61d6314ed0753] OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/golang-stable-image?expand=0&rev=25 --- Dockerfile | 2 +- golang-stable-image.changes | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index f5315aa..dc88849 100644 --- a/Dockerfile +++ b/Dockerfile @@ -32,5 +32,5 @@ ENV PATH="/go/bin:/usr/local/go/bin:/root/go/bin/:/usr/local/sbin:/usr/local/bin # only available on go's tsan_arch architectures -#!ArchExclusiveline x86_64 aarch64 s390x ppc64le +#!ArchExclusiveLine x86_64 aarch64 s390x ppc64le RUN set -euo pipefail; if zypper -n install go1.21-race; then zypper -n clean; rm -rf /var/log/*; fi diff --git a/golang-stable-image.changes b/golang-stable-image.changes index 8ab2be0..ca0ad21 100644 --- a/golang-stable-image.changes +++ b/golang-stable-image.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Sep 8 12:26:59 UTC 2023 - Dirk Mueller + +- typo fix in last change + ------------------------------------------------------------------- Wed Sep 6 16:26:08 UTC 2023 - Dirk Mueller