- 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:
parent
93436b84ae
commit
8f10e27090
@ -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
|
||||
|
@ -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}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user