Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2015-03-11 09:57:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/go (Old)
 and      /work/SRC/openSUSE:Factory/.go.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "go"

Changes:
--------
--- /work/SRC/openSUSE:Factory/go/go.changes    2014-12-16 14:48:30.000000000 
+0100
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes       2015-03-11 
09:57:21.000000000 +0100
@@ -1,0 +2,21 @@
+Sat Mar  7 15:24:29 UTC 2015 - [email protected]
+
+- Added Obsoletes for go-vim/emacs, they went to separate projects
+
+-------------------------------------------------------------------
+Sun Mar  1 16:32:12 UTC 2015 - [email protected]
+
+- Fix dangling-symlink /usr/lib64/go/src/pkg /usr/share/go/src/pkg
+
+-------------------------------------------------------------------
+Sun Mar  1 14:20:41 UTC 2015 - [email protected]
+
+- allow-binary-only-packages.patch: Revert missed patch and update for 1.4
+
+-------------------------------------------------------------------
+Fri Feb 27 19:34:49 UTC 2015 - [email protected]
+
+- Updated to 1.4.2:
+  Support of editors has been dropped
+
+-------------------------------------------------------------------

Old:
----
  go1.3.3.src.tar.gz

New:
----
  go1.4.2.src.tar.gz

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

Other differences:
------------------
++++++ go.spec ++++++
--- /var/tmp/diff_new_pack.PAb2b5/_old  2015-03-11 09:57:23.000000000 +0100
+++ /var/tmp/diff_new_pack.PAb2b5/_new  2015-03-11 09:57:23.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package go
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2011, Sascha Peilicke <[email protected]>
 #
 # All modifications and additions to the file contributed by third parties
@@ -26,7 +26,7 @@
 %endif
 
 Name:           go
-Version:        1.3.3
+Version:        1.4.2
 Release:        0
 Summary:        A compiled, garbage-collected, concurrent programming language
 License:        BSD-3-Clause
@@ -70,6 +70,9 @@
 Provides:       go-devel = %{name}%{version}
 Provides:       go-devel-static = %{name}%{version}
 Obsoletes:      go-devel < %{name}%{version}
+# go-vim/emacs were separate projects starting from 1.4
+Obsoletes:             go-vim <= 1.3.3
+Obsoletes:             go-emacs <= 1.3.3
 ExclusiveArch:  %ix86 x86_64 %arm
 
 %description
@@ -87,22 +90,6 @@
 %description doc
 Go examples and documentation.
 
-%package vim
-Summary:        Go syntax files for Vim
-Group:          Productivity/Text/Editors
-Requires:       %{name} = %{version}
-
-%description vim
-Vim syntax highlighting scheme for the Go programming language.
-
-%package emacs
-Summary:        Go language syntax files for Emacs
-Group:          Productivity/Text/Editors
-Requires:       %{name} = %{version}
-
-%description emacs
-Emacs syntax highlighting scheme for the Go programming language.
-
 %prep
 %setup -q -n %{name}
 %patch1 -p1
@@ -152,16 +139,6 @@
 # bash completion seems broken
 #install -Dm644 misc/bash/go 
%%{buildroot}%%{_sysconfdir}/bash_completion.d/go.sh
 install -Dm644 %{SOURCE2} %{buildroot}%{_sysconfdir}/profile.d/go.sh
-install -Dm644 misc/emacs/go-mode-load.el 
%{buildroot}%{_datadir}/emacs/site-lisp/go-mode-load.el
-install -Dm644 misc/emacs/go-mode.el 
%{buildroot}%{_datadir}/emacs/site-lisp/go-mode.el
-install -Dm644 misc/vim/autoload/go/complete.vim 
%{buildroot}%{_datadir}/vim/site/autoload/go/complete.vim
-install -d %{buildroot}%{_datadir}/vim/site/ftplugin/go
-install -Dm644 misc/vim/ftplugin/go/{fmt,import}.vim 
%{buildroot}%{_datadir}/vim/site/ftplugin/go/
-install -Dm644 misc/vim/indent/go.vim 
%{buildroot}%{_datadir}/vim/site/indent/go.vim
-install -Dm644 misc/vim/plugin/godoc.vim 
%{buildroot}%{_datadir}/vim/site/plugin/godoc.vim
-install -Dm644 misc/vim/syntax/godoc.vim 
%{buildroot}%{_datadir}/vim/site/syntax/godoc.vim
-install -Dm644 misc/vim/syntax/go.vim 
%{buildroot}%{_datadir}/vim/site/syntax/go.vim
-install -Dm644 misc/vim/ftdetect/gofiletype.vim 
%{buildroot}%{_datadir}/vim/site/ftdetect/gofiletype.vim
 
 # locations for third party libraries, see README-openSUSE for info about 
locations.
 install -d  %{buildroot}%{_datadir}/go/contrib
@@ -177,9 +154,8 @@
 for ext in *.{go,c,h,s,S,py}; do
   find src -name ${ext} -exec install -Dm644 \{\} 
%{buildroot}%{_datadir}/go/\{\} \;
 done
-mkdir -p $GOROOT/src
-ln -s /usr/share/go/src/pkg $GOROOT/src/pkg
-ln -s /usr/share/go/src/cmd $GOROOT/src/cmd
+mkdir -p $GOROOT
+ln -s /usr/share/go/src $GOROOT/src
 
 # copy document templates, packages, obj libs and command utilities
 mkdir -p %{buildroot}%{_bindir}
@@ -204,8 +180,9 @@
 install -Dm644 go.macros %{buildroot}%{_sysconfdir}/rpm/macros.go
 
 # break hard links
-rm %{buildroot}%{_libdir}/go/pkg/linux_%{go_arch}/{cgocall,runtime}.h
-ln -s %{_datadir}/go/src/pkg/runtime/{cgocall,runtime}.h 
%{buildroot}%{_libdir}/go/pkg/linux_%{go_arch}/
+rm 
%{buildroot}%{_libdir}/go/pkg/linux_%{go_arch}/{textflag,funcdata,cgocall,runtime}.h
+ln -s %{_datadir}/go/src/cmd/ld/textflag.h 
%{buildroot}%{_libdir}/go/pkg/linux_%{go_arch}
+ln -s %{_datadir}/go/src/runtime/{runtime,cgocall,funcdata}.h 
%{buildroot}%{_libdir}/go/pkg/linux_%{go_arch}
 
 # Disable brp-strip-static-archive breaks build
 %define __os_install_post %(echo '%{__os_install_post}' | sed -e 
's!/usr/lib/rpm/[^/]*/?brp-strip-static-archive %{__strip}!!g')
@@ -238,13 +215,4 @@
 %defattr(-,root,root,-)
 %doc doc
 
-%files vim
-%defattr(-,root,root,-)
-%dir %{_datadir}/vim
-%{_datadir}/vim/*
-
-%files emacs
-%defattr(-,root,root,-)
-%{_datadir}/emacs/site-lisp/go-mode*
-
 %changelog

++++++ allow-binary-only-packages.patch ++++++
--- /var/tmp/diff_new_pack.PAb2b5/_old  2015-03-11 09:57:23.000000000 +0100
+++ /var/tmp/diff_new_pack.PAb2b5/_new  2015-03-11 09:57:23.000000000 +0100
@@ -1,13 +1,13 @@
-diff --git a/src/cmd/go/pkg.go b/src/cmd/go/pkg.go
-index 30bbfad..54d65f9 100644
---- a/src/cmd/go/pkg.go
-+++ b/src/cmd/go/pkg.go
-@@ -220,7 +220,7 @@ func loadImport(path string, srcDir string, stk 
*importStack, importPos []token.
+Index: go/src/cmd/go/pkg.go
+===================================================================
+--- go.orig/src/cmd/go/pkg.go
++++ go/src/cmd/go/pkg.go
+@@ -264,7 +264,7 @@ func loadImport(path string, srcDir stri
        //
        // TODO: After Go 1, decide when to pass build.AllowBinary here.
        // See issue 3268 for mistakes to avoid.
--      bp, err := buildContext.Import(path, srcDir, 0)
-+      bp, err := buildContext.Import(path, srcDir, build.AllowBinary)
+-      bp, err := buildContext.Import(path, srcDir, build.ImportComment)
++      bp, err := buildContext.Import(path, srcDir, build.AllowBinary | 
build.ImportComment)
        bp.ImportPath = importPath
        if gobin != "" {
                bp.BinDir = gobin

++++++ go-build-dont-reinstall-stdlibs.patch ++++++
--- /var/tmp/diff_new_pack.PAb2b5/_old  2015-03-11 09:57:23.000000000 +0100
+++ /var/tmp/diff_new_pack.PAb2b5/_new  2015-03-11 09:57:23.000000000 +0100
@@ -2,7 +2,7 @@
 ===================================================================
 --- go.orig/src/cmd/go/build.go
 +++ go/src/cmd/go/build.go
-@@ -117,6 +117,7 @@ func init() {
+@@ -118,6 +118,7 @@ func init() {
  }
  
  // Flags set by multiple commands.
@@ -10,7 +10,7 @@
  var buildA bool               // -a flag
  var buildN bool               // -n flag
  var buildP = runtime.NumCPU() // -p flag
-@@ -169,6 +170,10 @@ func init() {
+@@ -170,6 +171,10 @@ func init() {
  // install, list, run, and test commands.
  func addBuildFlags(cmd *Command) {
        // NOTE: If you add flags here, also add them to testflag.go.
@@ -21,7 +21,7 @@
        cmd.Flag.BoolVar(&buildA, "a", false, "")
        cmd.Flag.BoolVar(&buildN, "n", false, "")
        cmd.Flag.IntVar(&buildP, "p", buildP, "")
-@@ -1020,6 +1025,11 @@ func (b *builder) build(a *action) (err
+@@ -1070,6 +1075,11 @@ func (b *builder) getPkgConfigFlags(p *P
  
  // install is the action for installing a single package or executable.
  func (b *builder) install(a *action) (err error) {

++++++ go-install-dont-reinstall-stdlibs.patch ++++++
--- /var/tmp/diff_new_pack.PAb2b5/_old  2015-03-11 09:57:23.000000000 +0100
+++ /var/tmp/diff_new_pack.PAb2b5/_new  2015-03-11 09:57:23.000000000 +0100
@@ -1,8 +1,8 @@
-diff --git a/src/cmd/go/pkg.go b/src/cmd/go/pkg.go
-index 54d65f9..a6c93f4 100644
---- a/src/cmd/go/pkg.go
-+++ b/src/cmd/go/pkg.go
-@@ -476,6 +476,13 @@ func isStale(p *Package, topRoot map[string]bool) bool {
+Index: go/src/cmd/go/pkg.go
+===================================================================
+--- go.orig/src/cmd/go/pkg.go
++++ go/src/cmd/go/pkg.go
+@@ -748,6 +748,13 @@ func isStale(p *Package, topRoot map[str
                return true
        }
  


++++++ go1.3.3.src.tar.gz -> go1.4.2.src.tar.gz ++++++
/work/SRC/openSUSE:Factory/go/go1.3.3.src.tar.gz 
/work/SRC/openSUSE:Factory/.go.new/go1.4.2.src.tar.gz differ: char 14, line 1

++++++ tools-packaging.patch ++++++
--- /var/tmp/diff_new_pack.PAb2b5/_old  2015-03-11 09:57:23.000000000 +0100
+++ /var/tmp/diff_new_pack.PAb2b5/_new  2015-03-11 09:57:23.000000000 +0100
@@ -2,7 +2,7 @@
 ===================================================================
 --- go.orig/src/cmd/go/pkg.go
 +++ go/src/cmd/go/pkg.go
-@@ -398,7 +398,13 @@ func (p *Package) load(stk *importStack,
+@@ -492,7 +492,13 @@ func (p *Package) load(stk *importStack,
                if goTools[p.ImportPath] == toTool {
                        // This is for 'go tool'.
                        // Override all the usual logic and force it into the 
tool directory.

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to