From d632baa05d2c843e885f1d0fe7c4d2f57c23f41b Mon Sep 17 00:00:00 2001 From: Lokesh Mandvekar Date: Wed, 23 Jun 2021 16:33:17 -0400 Subject: [PATCH] Resolves: #1975362 - GO111MODULE=off Signed-off-by: Lokesh Mandvekar --- golang-github-cpuguy83-md2man.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/golang-github-cpuguy83-md2man.spec b/golang-github-cpuguy83-md2man.spec index 50f6e42..7f3e32e 100644 --- a/golang-github-cpuguy83-md2man.spec +++ b/golang-github-cpuguy83-md2man.spec @@ -2,7 +2,7 @@ %if ! 0%{?gobuild:1} %define gobuild(o:) \ -go build -buildmode pie -compiler gc -tags="rpm_crashtraceback ${BUILDTAGS:-}" -ldflags "${LDFLAGS:-} -linkmode=external -compressdwarf=false -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \\n') -extldflags '%__global_ldflags'" -a -v %{?**}; +GO111MODULE=off go build -buildmode pie -compiler gc -tags="rpm_crashtraceback ${BUILDTAGS:-}" -ldflags "${LDFLAGS:-} -linkmode=external -compressdwarf=false -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \\n') -extldflags '%__global_ldflags'" -a -v %{?**}; %endif # https://github.com/cpuguy83/go-md2man