Hello community,

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

Package is "go1.7"

Fri Dec 21 08:18:10 2018 rev:10 rq:658804 version:1.7.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/go1.7/go1.7.changes      2018-03-01 
12:01:53.882822407 +0100
+++ /work/SRC/openSUSE:Factory/.go1.7.new.28833/go1.7.changes   2018-12-21 
08:18:11.713750998 +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.7.spec ++++++
--- /var/tmp/diff_new_pack.RWDZZB/_old  2018-12-21 08:18:12.509750254 +0100
+++ /var/tmp/diff_new_pack.RWDZZB/_new  2018-12-21 08:18:12.513750250 +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
 
@@ -85,7 +85,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
@@ -297,8 +296,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
@@ -343,10 +340,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
@@ -369,7 +365,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
@@ -384,11 +379,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