Hello community,

here is the log from the commit of package go for openSUSE:Factory
checked in at Thu Aug 4 14:54:21 CEST 2011.



--------
--- go/go.changes       2011-06-24 23:41:43.000000000 +0200
+++ go/go.changes       2011-08-02 10:19:31.000000000 +0200
@@ -1,0 +2,85 @@
+Tue Aug  2 07:47:10 UTC 2011 - [email protected]
+
+- Update to release r59:
+  * Restricted usage of goto statement
+  * Package reflect supports a new struct tag scheme that enables sharing of
+    struct tags between multiple packages.
+  * Package sort's IntArray type has been renamed to IntSlice, and similarly
+    for Float64Slice and StringSlice
+  * Package strings's Split function has itself been split into Split and
+    SplitN. SplitN is the same as the old Split. The new Split is equivalent
+    to SplitN with a final argument of -1. 
+  * Goinstall now installs packages and commands from arbitrary remote
+    repositories (not just Google Code, Github, and so on). See the goinstall
+    documentation for details. 
+  More at http://golang.org/doc/devel/release.html#r59
+
+-------------------------------------------------------------------
+Wed Jul 20 18:14:05 UTC 2011 - [email protected]
+
+- Update to 2011-07-20 mercurial version:
+  * ELF section header overlap fixed, GNU strip doesn't break binaries
+    anymore
+
+-------------------------------------------------------------------
+Wed Jul 20 08:10:44 UTC 2011 - [email protected]
+
+- Update to weekly.2011-07-19 mercurial version:
+  * archive/zip: add Writer, add Mtime_ns function to get modified time in
+    sensible format.
+  * cgi: close stdout reader pipe when finished.
+  * cgo: add missing semicolon in generated struct,
+  * codereview: fix for Mercurial 1.9.
+  * dashboard: list "most installed this week" with rolling count.
+  * debug/elf: read ELF Program headers.
+  * debug/proc: remove unused package.
+  * doc/talks/io2010: update with gofix and handle the errors.
+  * exp/eval, exp/ogle: remove packages eval and ogle.
+  * exp/regexp/syntax: add Prog.NumCap.
+  * exp/template: API changes, bug fixes, and tweaks.
+  * flag: make -help nicer.
+  * fmt: Scan(&int) was mishandling a lone digit.
+  * gc: fix closure bug, fix to build with clang, make size of struct{} and
+    [0]byte 0 bytes , some enhancements to printing debug info.
+  * gif: fix local color map and coordinates.
+  * go/build: include processing of .c files for cgo packages, less aggressive
+    failure when GOROOT not found.
+  * go/printer: changed max. number of newlines from 3 to 2.
+  * gob: register more slice types
+  * godoc: support for file systems stored in .zip files.
+  * hash/crc32: add SSE4.2 support.
+  * html: update section references in comments to the latest HTML5 spec.
+  * http: drain the pipe output in TestHandlerPanic to avoid logging deadlock,
+    fix Content-Type of file extension, implement http.FileSystem for zip 
files,
+    let FileServer work when path doesn't begin with a slash, support for
+    periodic flushing in ReverseProxy.
+  * image/draw: add benchmarks.
+  * json: add omitempty struct tag option, allow using '$' and '-' as the 
struct
+    field's tag encode \r and \n in strings as e.g. "\n", not "\u000A" escape 
+    < and > in any JSON string for XSS prevention.
+  * ld: allow seek within write buffer< add a PT_LOAD PHDR entry for the PHDR
+  * os: plan9: add Process.Signal as a way to send notes
+  * os: don't permit Process.Signal after a successful Wait.
+  * reflect: add Value.NumMethod, panic if Method index is out of range for a
+    type.
+  * runtime: faster entersyscall, exitsyscall, fix panic for make(chan 
[0]byte),
+    fix subtle select bug, make TestSideEffectOrder work twice, several
+    parallelism-related optimizations and fixes, string-related optimizations,
+    track running goroutine count.
+  * strconv: handle [-+]Infinity in atof.
+  * sync: add fast paths to WaitGroup, improve RWMutex performance.
+  * syscall: add Flock on Linux, parse and encode SCM_RIGHTS and 
SCM_CREDENTIALS
+  More at http://golang.org/doc/devel/release.html#r58.1
+
+-------------------------------------------------------------------
+Sun Jul 10 14:09:02 UTC 2011 - [email protected]
+
+- Update to 2011/07/10 mercurial version (post r58 and weekly.2011-07-07):
+  * Package exec has been redesigned with a more convenient and succinct API.
+  * Package os/signal's Signal and UnixSignal types have been moved 
+    to the os package.
+  * Package image/draw is the new name for exp/draw. The GUI-related
+    code from exp/draw is now located in the exp/gui package.
+  More at http://golang.org/doc/devel/release.html#r58
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


Old:
----
  go-0.0.r57.1+hg20110624.tar.bz2

New:
----
  go-0.0.r59.tar.bz2

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

Other differences:
------------------
++++++ go.spec ++++++
--- /var/tmp/diff_new_pack.BpwE95/_old  2011-08-04 14:53:47.000000000 +0200
+++ /var/tmp/diff_new_pack.BpwE95/_new  2011-08-04 14:53:47.000000000 +0200
@@ -19,23 +19,24 @@
 
 
 Name:           go
-Version:        0.0.r57.1+hg20110624
+Version:        0.0.r59
 Release:        1
 Summary:        A compiled, garbage-collected, concurrent programming language
 Group:          Development/Languages/Other
 License:        BSD3c
-Url:            http://golang.org/
+Url:            http://golang.org
 Source0:        go-%{version}.tar.bz2
 Source1:        rpmlintrc
 Source2:        go.sh
 Source3:        macros.go
 # PATCH-FIX-OPENSUSE adjust documentation paths
 Patch1:         go-godoc-path-locations.patch
-## PATCH-FIX-UPSTREAM fix various compiler warnings
+# PATCH-FIX-UPSTREAM fix various compiler warnings
 #Patch2:         go-fix-werrors.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  ed
 BuildRequires:  bison
+BuildRequires:  mercurial
 %if 0%{?suse_version} > 1020
 BuildRequires:  fdupes
 Recommends:     go-doc
@@ -55,6 +56,7 @@
 
 %package doc
 
+
 Summary:        Go documentation
 Group:          Documentation/Other
 Requires:       %{name} = %{version}
@@ -64,6 +66,7 @@
 
 %package vim
 
+
 Summary:        Go syntax files for Vim
 Group:          Productivity/Text/Editors
 Requires:       %{name} = %{version}
@@ -73,6 +76,7 @@
 
 %package emacs
 
+
 Summary:        Go language syntax files for Emacs
 Group:          Productivity/Text/Editors
 Requires:       %{name} = %{version}
@@ -82,6 +86,7 @@
 
 %package kate
 
+
 Summary:        Go syntax files for Kate and KWrite editors
 Group:          Productivity/Text/Editors
 Requires:       %{name} = %{version}
@@ -99,8 +104,6 @@
 export GOBIN="$GOROOT/bin"
 mkdir -p "$GOBIN"
 cd src
-
-# compile and run full test suite
 HOST_EXTRA_CFLAGS="%{optflags} -Wno-error" ./make.bash
 
 %install
@@ -166,13 +169,8 @@
 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}/
 
-# issue #1242
-# Go binaries are supposedly DWARF compliant but brp_strip_debug breaks them
-export NO_BRP_STRIP_DEBUG=true
-# Disable brp-strip-static-archive on Fedora, breaks build
-%if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version}
+# 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')
-%endif
 
 %if 0%{?suse_version} > 1020
 %fdupes %{buildroot}%{_prefix}

++++++ go-0.0.r57.1+hg20110624.tar.bz2 -> go-0.0.r59.tar.bz2 ++++++
go/go-0.0.r57.1+hg20110624.tar.bz2 go/go-0.0.r59.tar.bz2 differ: char 11, line 1

++++++ go-godoc-path-locations.patch ++++++
--- /var/tmp/diff_new_pack.BpwE95/_old  2011-08-04 14:53:47.000000000 +0200
+++ /var/tmp/diff_new_pack.BpwE95/_new  2011-08-04 14:53:47.000000000 +0200
@@ -1,43 +1,48 @@
---- a/src/cmd/godoc/godoc.go   2011-03-08 18:46:40.906386884 +0100
-+++ b/src/cmd/godoc/godoc.go   2011-03-08 19:10:03.880387209 +0100
-@@ -78,12 +78,15 @@
+diff -ru a/src/cmd/godoc/godoc.go b/src/cmd/godoc/godoc.go
+--- a/src/cmd/godoc/godoc.go   2011-08-02 09:44:36.104812881 +0200
++++ b/src/cmd/godoc/godoc.go   2011-08-02 09:54:43.389050505 +0200
+@@ -82,6 +82,10 @@
        pkgHandler httpHandler
  )
  
-+// for openSUSE packaging of godoc
-+const docroot = "/usr/share/doc/packages/go-doc/doc"
-+const srcroot = "/usr/share/go/"
++const (
++      docroot = "/usr/share/doc/packages/go-doc/doc"
++      srcroot = "/usr/share/go/"
++)
  
  func initHandlers() {
-       fsMap.Init(*pkgPath)
--      fileServer = http.FileServer(*goroot, "")
+       paths := filepath.SplitList(*pkgPath)
+@@ -93,9 +97,9 @@
+       }
+       fsMap.Init(paths)
+ 
+-      fileServer = http.FileServer(http.Dir(*goroot))
 -      cmdHandler = httpHandler{"/cmd/", filepath.Join(*goroot, "src", "cmd"), 
false}
 -      pkgHandler = httpHandler{"/pkg/", filepath.Join(*goroot, "src", "pkg"), 
true}
-+      fileServer = http.FileServer(docroot, "")
++      fileServer = http.FileServer(http.Dir(docroot))
 +      cmdHandler = httpHandler{"/cmd/", filepath.Join(srcroot, "src/cmd"), 
false}
 +      pkgHandler = httpHandler{"/pkg/", filepath.Join(srcroot, "src/pkg"), 
true}
  }
  
  
-@@ -634,7 +637,7 @@
+@@ -646,7 +650,7 @@
  
  
  func readTemplate(name string) *template.Template {
 -      path := filepath.Join(*goroot, "lib", "godoc", name)
 +      path := filepath.Join(*goroot, "lib/"+name)
-       if *templateDir != "" {
-               defaultpath := path
-               path = filepath.Join(*templateDir, name)
-@@ -819,13 +822,19 @@
+       if *templateDir != "" {
+               defaultpath := path
+               path = filepath.Join(*templateDir, name)
+@@ -835,13 +839,18 @@
  
  
  func serveFile(w http.ResponseWriter, r *http.Request) {
 +      // openSUSE: serv docs from root of go-doc package install location
 +      if strings.HasPrefix(r.URL.Path, "/doc/") {
-+                      http.Redirect(w, r, "/"+ r.URL.Path[len("/doc"):], 
http.StatusMovedPermanently)
-+                      return
++              http.Redirect(w, r, "/"+ r.URL.Path[len("/doc"):], 
http.StatusMovedPermanently)
++              return
 +      }
-+      
        relpath := r.URL.Path[1:] // serveFile URL paths start with '/'
 -      abspath := absolutePath(relpath, *goroot)
 +      abspath := absolutePath(relpath, docroot)
@@ -46,7 +51,8 @@
        switch r.URL.Path {
        case "/":
 -              serveHTMLDoc(w, r, filepath.Join(*goroot, "doc", "root.html"), 
"doc/root.html")
-+              serveHTMLDoc(w, r, filepath.Join(docroot, "root.html"), 
"root.html")
++              serveHTMLDoc(w, r, filepath.Join(docroot, "doc", "root.html"), 
"doc/root.html")
                return
  
        case "/doc/root.html":
+Only in b/src/cmd/godoc: .godoc.go.swp


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



Remember to have fun...

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

Reply via email to