- Add file 'VERSION' which is otherwise generated at runtime to fix

building

OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=88
This commit is contained in:
Sascha Peilicke 2011-09-27 08:59:03 +00:00 committed by Git OBS Bridge
parent 7b1c840fe5
commit 8a3525c3ff
5 changed files with 15 additions and 4 deletions

1
VERSION Normal file
View File

@ -0,0 +1 @@
release.r60.1 9497

View File

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

View File

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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Sep 27 08:57:23 UTC 2011 - saschpe@suse.de
- Add file 'VERSION' which is otherwise generated at runtime to fix
building
-------------------------------------------------------------------
Fri Sep 2 08:59:17 UTC 2011 - saschpe@suse.de

View File

@ -11,7 +11,7 @@
# published by the Open Source Initiative.
Name: go
Version: 0.0.r59+hg20110922
Version: 0.0.r60.1+hg20110927
Release: 0
Summary: A compiled, garbage-collected, concurrent programming language
Group: Development/Languages/Other
@ -21,6 +21,9 @@ Source0: go-%{version}.tar.bz2
Source1: rpmlintrc
Source2: go.sh
Source3: macros.go
# This file is otherwise generated at build-time from the .hg directory, which was
# stripped from the tarball to save space. TODO: Update contents after version update!
Source4: VERSION
# PATCH-FIX-OPENSUSE adjust documentation paths
Patch1: go-godoc-path-locations.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -79,6 +82,7 @@ Kate syntax highlighting scheme for the Go programming language.
%prep
%setup -q -n %{name}
%patch1 -p1
cp %{SOURCE4} .
%build
export GOROOT="`pwd`"