Hello community,
here is the log from the commit of package golang-org-x-tools for openSUSE:Factory checked in at 2015-09-02 00:35:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/golang-org-x-tools (Old)
and /work/SRC/openSUSE:Factory/.golang-org-x-tools.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "golang-org-x-tools"
Changes:
--------
--- /work/SRC/openSUSE:Factory/golang-org-x-tools/golang-org-x-tools.changes 2015-07-24 09:58:54.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.golang-org-x-tools.new/golang-org-x-tools.changes 2015-09-02 00:35:53.000000000 +0200
@@ -1,0 +2,13 @@
+Fri Aug 28 17:14:00 UTC 2015 - i@marguerite.su
+
+- Update to version 1.4.2+git20150825.b48dc8d:
+ + cmd/godoc: remove obsolete vet redirect
+ + imports: fix bug, where unused named import is mistaken for unnamed import.
+ + cmd/tipgodoc: change capitalization of 'Authors' to be consistent
+ + go/loader: fix fd leak and limit calls to ioutil.ReadDir
+ + website: fix JavaScript error on website and blog in non-ES6 browsers
+ + cmd/gotype: use std lib go/types instead of x/tools version
+ + cmd/gotype: keep gotype working with Go1.4
+- cover/vert are merged in mainline go 1.5, so strip them off.
+
+-------------------------------------------------------------------
Old:
----
tools-1.4.2+git20150710.4cd43f3.tar.xz
New:
----
_servicedata
tools-1.4.2+git20150825.b48dc8d.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ golang-org-x-tools.spec ++++++
--- /var/tmp/diff_new_pack.10N6dp/_old 2015-09-02 00:35:54.000000000 +0200
+++ /var/tmp/diff_new_pack.10N6dp/_new 2015-09-02 00:35:54.000000000 +0200
@@ -2,7 +2,6 @@
# spec file for package golang-org-x-tools
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
-# Copyright (c) 2012 Graham Anderson
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +17,7 @@
Name: golang-org-x-tools
-Version: 1.4.2+git20150710.4cd43f3
+Version: 1.4.2+git20150825.b48dc8d
Release: 0
Summary: Additional toolsgraphy libraries
License: BSD-3-Clause
@@ -27,13 +26,13 @@
Source: tools-%{version}.tar.xz
Source1: godoc.service
Source2: %{name}-rpmlintrc
+BuildRequires: go-mango-doc
BuildRequires: golang-packaging
+BuildRequires: update-alternatives
+BuildRequires: xz
BuildRequires: golang(golang.org/x/net)
BuildRequires: golang(golang.org/x/oauth2)
BuildRequires: golang(google.golang.org/api)
-BuildRequires: go-mango-doc
-BuildRequires: update-alternatives
-BuildRequires: xz
Provides: go-go.tools = %{version}
Obsoletes: go-go.tools < %{version}
Provides: go-tools = %{version}
@@ -56,12 +55,13 @@
%prep
%setup -q -n tools-%{version}
+# cover/vet are merged in mainline go 1.5
+rm -rf cover
+rm -rf cmd/cover
+rm -rf cmd/vet
%build
%goprep golang.org/x/tools
-
-# We need to set GOROOT_TARGET for go to export vet and cover at the proper place
-export GOROOT_TARGET="%{buildroot}%{_libdir}/go"
%gobuild ...
cd %{_builddir}/tools-%{version}
@@ -80,12 +80,6 @@
%goinstall
%gosrc
-# update-alternatives
-mv %{buildroot}%{_mandir}/man1/cover.1 %{buildroot}%{_mandir}/man1/cover-go.1
-mkdir -p %{buildroot}%{_sysconfdir}/alternatives
-touch %{buildroot}%{_sysconfdir}/alternatives/cover.1.gz
-ln -sf %{_sysconfdir}/alternatives/cover.1.gz %{buildroot}%{_mandir}/man1/cover.1.gz
-
%if 0%{?suse_version} >= 1100
%fdupes %{buildroot}%{_prefix}
%endif
@@ -99,9 +93,6 @@
%if 0%{?suse_version} >= 1210
%service_add_post godoc.service
%endif
-update-alternatives \
- --install %{_mandir}/man1/cover.1.gz cover.1.gz \
- %{_mandir}/man1/cover-go.1.gz 30
%preun
%if 0%{?suse_version} >= 1210
@@ -112,19 +103,14 @@
%if 0%{?suse_version} >= 1210
%service_del_postun godoc.service
%endif
-if [ $1 -eq 0 ] ; then
- update-alternatives --remove cover.1.gz %{_mandir}/man1/cover-go.1.gz
-fi
%files
%defattr(-,root,root,-)
%doc LICENSE README CONTRIBUTORS AUTHORS PATENTS
-%ghost %{_sysconfdir}/alternatives/cover.1.gz
%{go_contribdir}/*
%if 0%{?suse_version} >= 1210 || 0%{?fedora} >= 16
%{_unitdir}/godoc.service
%endif
-%{_libdir}/go/pkg/tool/*/*
%{_bindir}/benchcmp
%{_bindir}/callgraph
%{_bindir}/digraph
@@ -145,8 +131,6 @@
%{_bindir}/tipgodoc
%{_mandir}/man1/benchcmp.1*
%{_mandir}/man1/callgraph.1*
-%{_mandir}/man1/cover.1*
-%{_mandir}/man1/cover-go.1*
%{_mandir}/man1/digraph.1*
%{_mandir}/man1/eg.1*
%{_mandir}/man1/fiximports.1*
@@ -163,7 +147,6 @@
%{_mandir}/man1/stress.1*
%{_mandir}/man1/stringer.1*
%{_mandir}/man1/tipgodoc.1*
-%{_mandir}/man1/vet.1*
%files source
%defattr(-,root,root,-)
++++++ _service ++++++
--- /var/tmp/diff_new_pack.10N6dp/_old 2015-09-02 00:35:54.000000000 +0200
+++ /var/tmp/diff_new_pack.10N6dp/_new 2015-09-02 00:35:54.000000000 +0200
@@ -1,16 +1,17 @@
<services>
- <service name="tar_scm" mode="localonly">
+ <service name="tar_scm" mode="disabled">
<param name="url">https://github.com/golang/tools</param>
<param name="scm">git</param>
<param name="exclude">.git</param>
<param name="versionformat">1.4.2+git%cd.%h</param>
<param name="revision">master</param>
+ <param name="changesgenerate">enable</param>
</service>
- <service name="recompress" mode="localonly">
+ <service name="recompress" mode="disabled">
<param name="file">tools-*.tar</param>
<param name="compression">xz</param>
</service>
- <service name="set_version" mode="localonly">
+ <service name="set_version" mode="disabled">
<param name="basename">tools</param>
</service>
</services>
++++++ _servicedata ++++++
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/golang/tools</param>
<param name="changesrevision">b48dc8da98ae78c3d11f220e7d327304c84e623a</param></service></servicedata>++++++ tools-1.4.2+git20150710.4cd43f3.tar.xz -> tools-1.4.2+git20150825.b48dc8d.tar.xz ++++++
++++ 2503 lines of diff (skipped)