Hello community,

here is the log from the commit of package go1.6 for openSUSE:Factory checked 
in at 2018-12-18 14:58:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/go1.6 (Old)
 and      /work/SRC/openSUSE:Factory/.go1.6.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "go1.6"

Tue Dec 18 14:58:37 2018 rev:7 rq:658803 version:1.6.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/go1.6/go1.6.changes      2018-02-27 
17:00:53.773671954 +0100
+++ /work/SRC/openSUSE:Factory/.go1.6.new.28833/go1.6.changes   2018-12-18 
15:00:03.342100903 +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
+
+-------------------------------------------------------------------

Old:
----
  go.sh

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ go1.6.spec ++++++
--- /var/tmp/diff_new_pack.c6O3P7/_old  2018-12-18 15:00:04.826098672 +0100
+++ /var/tmp/diff_new_pack.c6O3P7/_new  2018-12-18 15:00:04.834098660 +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
 
@@ -80,7 +80,6 @@
 Url:            http://golang.org
 Source0:        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
@@ -290,8 +289,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
@@ -336,10 +333,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
@@ -360,8 +356,7 @@
 update-alternatives \
         --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
+   --slave %{_sysconfdir}/gdbinit.d/go.gdb go.gdb 
%{_libdir}/go/%{go_api}/bin/gdbinit.d/go.gdb
 
 %postun
 if [ $1 -eq 0 ] ; then
@@ -376,11 +371,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}


Reply via email to