From 88a1921e796203fe33051bb0c1c9d02cb869fe2237c3e6d7c506e6794b7aec9a Mon Sep 17 00:00:00 2001 From: Graham Anderson Date: Thu, 10 May 2012 04:13:33 +0000 Subject: [PATCH] replace correct goarch statement OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=135 --- macros.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macros.go b/macros.go index 51ec1c9..e5c18a9 100644 --- a/macros.go +++ b/macros.go @@ -5,7 +5,7 @@ # %go_ver %(LC_ALL=C rpm -q --qf '%%{epoch}:%%{version}\\n' go | sed -e 's/ (none):/ /' -e 's/ 0:/ /' | grep -v "is not") -%go_arch amd64 +%go_arch GOARCH %go_build_ver %(go version | sed 's/^go version //' | tr -d ' ') %go_dir %{_libdir}/go