- Update to 20/05/2011 mercurial version

- Macro %go_arch in macros.go now properly set to correct value

OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=50
This commit is contained in:
Sascha Peilicke 2011-05-20 09:29:51 +00:00 committed by Git OBS Bridge
parent 8f1950b009
commit fcd1b21569
5 changed files with 22 additions and 7 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4327e92311f6b85f6fbee262d1249643ff4d182bd85e0fdf715572c71a08b903
size 8573381

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e57e3d1545d0db0dd3b93b7da31457429070b459a84f94e9ba3654b1811421b8
size 7285932

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri May 20 09:25:13 UTC 2011 - saschpe@suse.de
- Update to 20/05/2011 mercurial version
- Macro %go_arch in macros.go now properly set to correct value
-------------------------------------------------------------------
Thu May 19 18:22:16 UTC 2011 - saschpe@gmx.de

13
go.spec
View File

@ -11,7 +11,7 @@
# published by the Open Source Initiative.
Name: go
Version: 0.0.r57.1+hg20110519
Version: 0.0.r57.1+hg20110520
Release: 0
Summary: A compiled, garbage-collected, concurrent programming language
Group: Development/Languages/Other
@ -158,7 +158,16 @@ chmod 644 doc/codelab/wiki/test.sh
# fix bnc#686557, contains image licensed under non-commercial license
rm doc/talks/go_talk-20091030.pdf
# RPM macros
# install RPM macros and set proper go_arch (BSD-like scheme)
%ifarch %ix86
sed -i 's|GOARCH|386|' %{SOURCE3}
%endif
%ifarch x86_64
sed -i 's|GOARCH|amd64|' %{SOURCE3}
%endif
%ifarch %arm
sed -i 's|GOARCH|arm|' %{SOURCE3}
%endif
install -Dm644 %{SOURCE3} %{buildroot}%{_sysconfdir}/rpm/macros.go
# issue #1242

View File

@ -3,8 +3,8 @@
# Copyright (c) 2011 Sascha Peilicke <saschpe@gmx.de>
#
%go_ver 0.0.r57.1+hg20110519
%go_arch amd64
%go_ver 0.0.r57.1+hg20110520
%go_arch GOARCH
%go_dir %{_libdir}/go
%go_sitedir %{_libdir}/go/pkg