Accepting request 535653 from home:cyphar:go:lib_timezone
- Install $GOROOT/lib packages, to include upstream files such as the timezone database. bsc#1064522 OBS-URL: https://build.opensuse.org/request/show/535653 OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=302
This commit is contained in:
parent
be292d868a
commit
9654131ffd
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Oct 21 11:39:37 UTC 2017 - asarai@suse.com
|
||||||
|
|
||||||
|
- Install $GOROOT/lib packages, to include upstream files such as the timezone
|
||||||
|
database. bsc#1064522
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Oct 5 07:09:54 UTC 2017 - thipp@suse.de
|
Thu Oct 5 07:09:54 UTC 2017 - thipp@suse.de
|
||||||
|
|
||||||
|
4
go.spec
4
go.spec
@ -299,10 +299,12 @@ mkdir -p $GOROOT/src
|
|||||||
for i in $(ls %{buildroot}/usr/share/go/%{go_api}/src);do
|
for i in $(ls %{buildroot}/usr/share/go/%{go_api}/src);do
|
||||||
ln -s /usr/share/go/%{go_api}/src/$i $GOROOT/src/$i
|
ln -s /usr/share/go/%{go_api}/src/$i $GOROOT/src/$i
|
||||||
done
|
done
|
||||||
|
# add lib files that are needed (such as the timezone database).
|
||||||
|
install -d $GOROOT/lib
|
||||||
|
find lib -type f -exec install -D -m644 {} $GOROOT/{} \;
|
||||||
|
|
||||||
# copy document templates, packages, obj libs and command utilities
|
# copy document templates, packages, obj libs and command utilities
|
||||||
mkdir -p $GOROOT/bin
|
mkdir -p $GOROOT/bin
|
||||||
mkdir -p $GOROOT/lib
|
|
||||||
# remove bootstrap
|
# remove bootstrap
|
||||||
rm -rf pkg/bootstrap
|
rm -rf pkg/bootstrap
|
||||||
mv pkg $GOROOT
|
mv pkg $GOROOT
|
||||||
|
Loading…
Reference in New Issue
Block a user