- 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:
parent
6381ba7c33
commit
2df9b3e74a
@ -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
|
||||
|
||||
|
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user