Sascha Peilicke 2010-11-09 17:27:44 +00:00 committed by Git OBS Bridge
parent 936e747f29
commit 06690fc6b6

View File

@ -84,10 +84,9 @@ export GOROOT="`pwd`"
export GOBIN="$GOROOT/bin"
mkdir -p "$GOBIN"
cd src
LC_ALL=C PATH="$PATH:$GOBIN" ./make.bash
CFLAGS=$RPM_OPT_FLAGS LC_ALL=C PATH="$PATH:$GOBIN" ./make.bash
%install
rm -rf $RPM_BUILD_ROOT
export GOROOT="$RPM_BUILD_ROOT%{_libdir}/go"
export GOBIN="$GOROOT/bin"
install -Dm644 misc/bash/go $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d/go