- Fix building of all the Go packages under devel:languages:go. The

%goprep macro contained some unescaped lines, causing go install to
  attempt the installation of the build artifacts outside of the
  buildroot.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=213
This commit is contained in:
Flavio Castelli 2015-04-08 09:01:18 +00:00 committed by Git OBS Bridge
parent 6381ba7c33
commit 2df9b3e74a
2 changed files with 12 additions and 4 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Wed Apr 8 09:00:41 UTC 2015 - fcastelli@suse.com
- Fix building of all the Go packages under devel:languages:go. The
%goprep macro contained some unescaped lines, causing go install to
attempt the installation of the build artifacts outside of the
buildroot.
-------------------------------------------------------------------
Mon Mar 30 15:18:44 UTC 2015 - i@marguerite.su

View File

@ -36,10 +36,10 @@ Recommends: %{name}-doc \
# We need a $GOPATH: go help gopath
# We need a valid importpath: go help packages
%goprep() \
# *.a files in golang doesn't contain debuginfo right now,
# so extract a debug package will cause
# "Failed to write file: invalid section alignment"
# and we don't need to bother stripping them.
# *.a files in golang doesn't contain debuginfo right now, \
# so extract a debug package will cause \
# "Failed to write file: invalid section alignment" \
# and we don't need to bother stripping them. \
%global debug_package %{nil} \
%global __strip /bin/true \
export GOPATH=%{_builddir}/go \