Hello community,

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

Package is "go1.4"

Tue Dec 18 14:58:31 2018 rev:8 rq:658802 version:1.4.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/go1.4/go1.4.changes      2018-03-26 
16:03:35.913248796 +0200
+++ /work/SRC/openSUSE:Factory/.go1.4.new.28833/go1.4.changes   2018-12-18 
15:00:01.770103266 +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.4.spec ++++++
--- /var/tmp/diff_new_pack.hN60D6/_old  2018-12-18 15:00:03.106101258 +0100
+++ /var/tmp/diff_new_pack.hN60D6/_new  2018-12-18 15:00:03.110101252 +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
 
@@ -42,7 +42,6 @@
 Url:            http://golang.org
 Source0:        http://golang.org/dl/go%{version}.src.tar.gz
 Source1:        go-rpmlintrc
-Source2:        go.sh
 Source3:        macros.go
 Source5:        README.SUSE
 Source6:        go1.4.gdbinit
@@ -216,7 +215,6 @@
 
 %install
 export GOROOT="%{buildroot}%{_libdir}/%{name}"
-install -Dm644 %{SOURCE2} $GOROOT/bin/profile.d/go.sh
 
 # locations for third party libraries, see README.SUSE for info about 
locations.
 install -d  %{buildroot}%{_datadir}/%{name}/contrib
@@ -250,11 +248,9 @@
 # update-alternatives
 mkdir -p %{buildroot}%{_sysconfdir}/alternatives
 mkdir -p %{buildroot}%{_bindir}
-mkdir -p %{buildroot}%{_sysconfdir}/profile.d
-touch %{buildroot}%{_sysconfdir}/alternatives/{go,gofmt,go.sh}
+touch %{buildroot}%{_sysconfdir}/alternatives/{go,gofmt}
 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
 
 # documentation and examples
 # fix documetation permissions (rpmlint warning)
@@ -284,8 +280,7 @@
 %post
 update-alternatives \
        --install %{_bindir}/go go %{_libdir}/%{name}/bin/go 60 \
-       --slave %{_bindir}/gofmt gofmt %{_libdir}/%{name}/bin/gofmt \
-       --slave %{_sysconfdir}/profile.d/go.sh go.sh 
%{_libdir}/%{name}/bin/profile.d/go.sh
+       --slave %{_bindir}/gofmt gofmt %{_libdir}/%{name}/bin/gofmt
 
 %postun
 if [ $1 -eq 0 ] ; then
@@ -309,8 +304,6 @@
 %{_datadir}/%{name}/
 %ghost %{_sysconfdir}/alternatives/go
 %ghost %{_sysconfdir}/alternatives/gofmt
-%ghost %{_sysconfdir}/alternatives/go.sh
-%config %{_sysconfdir}/profile.d/go.sh
 %config %{_sysconfdir}/gdbinit.d/%{name}.gdb
 %config %{_sysconfdir}/rpm/macros.%{name}
 %dir %{_docdir}/%{name}/


Reply via email to