- No need to set $PATH before building anymore

OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=75
This commit is contained in:
Sascha Peilicke 2011-06-24 21:41:44 +00:00 committed by Git OBS Bridge
parent 47a7c07b6e
commit 0dd5baafd5
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jun 24 21:41:27 UTC 2011 - saschpe@gmx.de
- No need to set $PATH before building anymore
-------------------------------------------------------------------
Fri Jun 24 21:17:16 UTC 2011 - saschpe@gmx.de

View File

@ -86,11 +86,10 @@ Kate syntax highlighting scheme for the Go programming language.
export GOROOT="`pwd`"
export GOBIN="$GOROOT/bin"
mkdir -p "$GOBIN"
cd src
# compile and run full test suite
HOST_EXTRA_CFLAGS="%{optflags} -Wno-error" PATH="$PATH:$GOBIN" ./make.bash
HOST_EXTRA_CFLAGS="%{optflags} -Wno-error" ./make.bash
%install
export GOROOT="%{buildroot}%{_libdir}/%{name}"