- Add %go_tooldir macro and create the tools directory in %goprep

OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=181
This commit is contained in:
Sascha Peilicke 2013-10-30 16:00:01 +00:00 committed by Git OBS Bridge
parent 93436b84ae
commit 8f10e27090
2 changed files with 3 additions and 2 deletions

View File

@ -1,7 +1,7 @@
-------------------------------------------------------------------
Fri Oct 18 14:19:53 UTC 2013 - speilicke@suse.com
- Add %go_tooldir macro
- Add %go_tooldir macro and create the tools directory in %goprep
-------------------------------------------------------------------
Fri Oct 18 12:49:52 UTC 2013 - speilicke@suse.com

View File

@ -51,8 +51,9 @@ mkdir -p $GOPATH/src/$IMPORTPATH \
rmdir ${pkg_dir} \
ln -s $GOPATH/src/$IMPORTPATH ${pkg_dir} \
cd ${pkg_dir} \
# we'll be installing packages/binaries, make the targ dirs \
# we'll be installing packages/binaries/tools, make the targ dirs \
install -d %{buildroot}%{go_contribdir} \
install -d %{buildroot}%{go_tooldir} \
install -d %{buildroot}%{_bindir} \
%{nil}