replace correct goarch statement
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=135
This commit is contained in:
parent
9187e05af9
commit
88a1921e79
@ -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_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_build_ver %(go version | sed 's/^go version //' | tr -d ' ')
|
||||||
|
|
||||||
%go_dir %{_libdir}/go
|
%go_dir %{_libdir}/go
|
||||||
|
Loading…
Reference in New Issue
Block a user