Hello community, here is the log from the commit of package go1.8 for openSUSE:Factory checked in at 2018-12-21 08:18:16 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/go1.8 (Old) and /work/SRC/openSUSE:Factory/.go1.8.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "go1.8" Fri Dec 21 08:18:16 2018 rev:7 rq:658805 version:1.8.7 Changes: -------- --- /work/SRC/openSUSE:Factory/go1.8/go1.8.changes 2018-03-07 10:31:30.589334493 +0100 +++ /work/SRC/openSUSE:Factory/.go1.8.new.28833/go1.8.changes 2018-12-21 08:18:17.465745619 +0100 @@ -1,0 +2,7 @@ +Sat Dec 15 12:45:31 UTC 2018 - Aleksa Sarai <[email protected]> + +- Make our profile.d/go.sh no longer set GOROOT=, in order to make switching + between versions no longer break. This ends up removing the need for go.sh + entirely (because GOPATH is also set automatically). boo#1119634 + +------------------------------------------------------------------- @@ -10 +16,0 @@ - Old: ---- go.sh ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ go1.8.spec ++++++ --- /var/tmp/diff_new_pack.ZG9Nca/_old 2018-12-21 08:18:18.345744796 +0100 +++ /var/tmp/diff_new_pack.ZG9Nca/_new 2018-12-21 08:18:18.349744792 +0100 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # # nodebuginfo @@ -86,7 +86,6 @@ Url: http://golang.org Source: http://golang.org/dl/go%{version}.src.tar.gz Source1: go-rpmlintrc -Source2: go.sh Source4: README.SUSE Source6: go.gdbinit # We have to compile TSAN ourselves. boo#1052528 @@ -285,8 +284,6 @@ %install export GOROOT="%{buildroot}%{_libdir}/go/%{go_api}" -install -Dm644 %{SOURCE2} $GOROOT/bin/profile.d/go.sh -sed -i "s/\$go_api/%{go_api}/" $GOROOT/bin/profile.d/go.sh # locations for third party libraries, see README-openSUSE for info about locations. install -d %{buildroot}%{_datadir}/go/%{go_api}/contrib @@ -331,10 +328,9 @@ mkdir -p %{buildroot}%{_bindir} mkdir -p %{buildroot}%{_sysconfdir}/profile.d mkdir -p %{buildroot}%{_sysconfdir}/gdbinit.d - touch %{buildroot}%{_sysconfdir}/alternatives/{go,gofmt,go.sh,go.gdb} + touch %{buildroot}%{_sysconfdir}/alternatives/{go,gofmt,go.gdb} ln -sf %{_sysconfdir}/alternatives/go %{buildroot}%{_bindir}/go ln -sf %{_sysconfdir}/alternatives/gofmt %{buildroot}%{_bindir}/gofmt - ln -sf %{_sysconfdir}/alternatives/go.sh %{buildroot}%{_sysconfdir}/profile.d/go.sh ln -sf %{_sysconfdir}/alternatives/go.gdb %{buildroot}%{_sysconfdir}/gdbinit.d/go.gdb # documentation and examples @@ -355,7 +351,6 @@ --install %{_bindir}/go go %{_libdir}/go/%{go_api}/bin/go 30 \ --slave %{_bindir}/gofmt gofmt %{_libdir}/go/%{go_api}/bin/gofmt \ --slave %{_sysconfdir}/gdbinit.d/go.gdb go.gdb %{_libdir}/go/%{go_api}/bin/gdbinit.d/go.gdb \ - --slave %{_sysconfdir}/profile.d/go.sh go.sh %{_libdir}/go/%{go_api}/bin/profile.d/go.sh %postun if [ $1 -eq 0 ] ; then @@ -370,11 +365,9 @@ %{_libdir}/go/%{go_api} %{_datadir}/go %{_datadir}/go/%{go_api} -%config %{_sysconfdir}/profile.d/go.sh %config %{_sysconfdir}/gdbinit.d/go.gdb %ghost %{_sysconfdir}/alternatives/go %ghost %{_sysconfdir}/alternatives/gofmt -%ghost %{_sysconfdir}/alternatives/go.sh %ghost %{_sysconfdir}/alternatives/go.gdb %dir %{_docdir}/go %dir %{_docdir}/go/%{go_api}
