Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2012-01-19 09:41:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/go (Old)
 and      /work/SRC/openSUSE:Factory/.go.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "go", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/go/go.changes    2011-12-09 09:31:45.000000000 
+0100
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes       2012-01-19 
09:41:45.000000000 +0100
@@ -1,0 +2,35 @@
+Fri Dec 23 13:02:09 UTC 2011 - [email protected]
+
+- Update to weekly.2011.12.22
+- changes to the images/ycbcr and testing packages
+  * "gofix" required for code using images/ycbr
+  * Testing package "B" (benchmark) type now has same methods as "T" 
+- Compiler inlining: Enabled in .spec as "export GCFLAGS=-l"
+  * Needs to be explicitly enabled at compile time with the above
+    flag or using the "-l" compiler flag
+- Initial implementation of 'go' command utility
+- Many fixes and updates
+  * http://weekly.golang.org/doc/devel/weekly.html#2011-12-22
+
+-------------------------------------------------------------------
+Fri Dec 16 10:03:38 CET 2011 - [email protected]
+
+- fix exclusivearch for %%arm
+- fix filelist for %%arm
+
+-------------------------------------------------------------------
+Tue Dec 13 14:54:16 UTC 2011 - [email protected]
+
+- Use $GOBIN as install target directory for binaries (Make.cmd)
+  regardless of $TARGDIR (Second part of bnc#735320)
+
+-------------------------------------------------------------------
+Tue Dec 13 14:06:38 UTC 2011 - [email protected]
+
+- Improve macros %go_make, %go_make_test and %go_make_install:
+  * Set TARGDIR and GOBIN all macros (bnc#735320)
+  * Make sure %{buildroot}%{_bindir} exists in any case
+- The above should simplify spec files for Go packages that use, .e.g.,
+  'make tools' to install additional stuff (like binaries)
+
+-------------------------------------------------------------------

Old:
----
  go-0.0.r60.3+hg20111205.tar.bz2

New:
----
  go-0.0.r60.3+hg20111222.tar.bz2
  go-set-make-cmd-install-path-to-gobin.patch

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

Other differences:
------------------
++++++ go.spec ++++++
--- /var/tmp/diff_new_pack.OaYRYE/_old  2012-01-19 09:41:47.000000000 +0100
+++ /var/tmp/diff_new_pack.OaYRYE/_new  2012-01-19 09:41:47.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package go
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 # Copyright (c) 2011, Sascha Peilicke <[email protected]>
 #
 # All modifications and additions to the file contributed by third parties
@@ -16,14 +16,12 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-
-
 Name:           go
-Version:        0.0.r60.3+hg20111205
+Version:        0.0.r60.3+hg20111222
 Release:        0
 Summary:        A compiled, garbage-collected, concurrent programming language
-Group:          Development/Languages/Other
 License:        BSD-3-Clause
+Group:          Development/Languages/Other
 Url:            http://golang.org
 Source0:        go-%{version}.tar.bz2
 Source1:        rpmlintrc
@@ -36,9 +34,11 @@
 Patch1:         go-godoc-path-locations.patch
 # PATCH-FIX-OPENSUSE set correct location of gdb pretty printer
 Patch2:         gdb-printer.patch
+# PATCH-FIX-OPENSUSE set correct install path (GOBIN) for Make.cmd
+Patch3:         go-set-make-cmd-install-path-to-gobin.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  ed
 BuildRequires:  bison
+BuildRequires:  ed
 BuildRequires:  mercurial
 %if 0%{?suse_version} > 1020
 BuildRequires:  fdupes
@@ -48,7 +48,7 @@
 Provides:       go-devel-static = %{version}
 Provides:       go-devel = %{version}
 Obsoletes:      go-devel < %{version}
-ExclusiveArch:  %ix86 x86_64 arm
+ExclusiveArch:  %ix86 x86_64 %arm
 
 %description
 Go is an expressive, concurrent, garbage collected systems programming language
@@ -93,6 +93,7 @@
 %setup -q -n %{name}
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 cp %{SOURCE4} .
 
 # setup go_arch (BSD-like scheme)
@@ -121,6 +122,8 @@
 mkdir -p "$GOBIN"
 cd src
 export GDB_PRINTER="%{gdb_printer}"
+# enable compiler inlining
+export GCFLAGS=-l
 HOST_EXTRA_CFLAGS="%{optflags} -Wno-error -D GDB_PRINTER='\"$GDB_PRINTER\"'" 
./make.bash
 
 %install
@@ -135,6 +138,14 @@
 mkdir -p %{buildroot}%{_bindir}
 mkdir -p %{buildroot}%{_sbindir}
 cp -r bin/* %{buildroot}%{_bindir}
+# all C compilers are now built for generated files, remove them for other 
archs
+rm %{buildroot}%{_bindir}/5c
+%ifarch %ix86
+rm %{buildroot}%{_bindir}/6c
+%endif
+%ifarch x86_64
+rm %{buildroot}%{_bindir}/8c
+%endif
 mv %{buildroot}%{_bindir}/goinstall %{buildroot}%{_sbindir}/goinstall
 rm -f %{buildroot}%{_bindir}/{hgpatch,quietgcc}
 mkdir -p $GOROOT/src
@@ -186,10 +197,13 @@
 %files
 %defattr(-,root,root,-)
 %doc AUTHORS CONTRIBUTORS LICENSE PATENTS README
-%ifarch %ix86
+%ifarch %ix86 %arm
 %{_bindir}/8*
 %endif
 %{_bindir}/6*
+%ifarch %arm
+%{_bindir}/5*
+%endif
 %{_bindir}/cgo
 %{_bindir}/ebnflint
 %{_bindir}/go*

++++++ VERSION ++++++
--- /var/tmp/diff_new_pack.OaYRYE/_old  2012-01-19 09:41:47.000000000 +0100
+++ /var/tmp/diff_new_pack.OaYRYE/_new  2012-01-19 09:41:47.000000000 +0100
@@ -1 +1 @@
-weekly.2011-12-02 10684
+weekly.2011-12-22 10879

++++++ go-0.0.r60.3+hg20111205.tar.bz2 -> go-0.0.r60.3+hg20111222.tar.bz2 ++++++
/work/SRC/openSUSE:Factory/go/go-0.0.r60.3+hg20111205.tar.bz2 
/work/SRC/openSUSE:Factory/.go.new/go-0.0.r60.3+hg20111222.tar.bz2 differ: char 
11, line 1

++++++ go-set-make-cmd-install-path-to-gobin.patch ++++++
--- a/src/Make.cmd      2011-12-05 16:49:18.000000000 +0100
+++ b/src/Make.cmd      2011-12-13 15:48:11.922504491 +0100
@@ -6,9 +6,7 @@
 TARG:=$(TARG).exe
 endif
 
-ifeq ($(TARGDIR),)
 TARGDIR:=$(QUOTED_GOBIN)
-endif
 
 all: $(TARG)
 
++++++ go.sh ++++++
--- /var/tmp/diff_new_pack.OaYRYE/_old  2012-01-19 09:41:47.000000000 +0100
+++ /var/tmp/diff_new_pack.OaYRYE/_new  2012-01-19 09:41:47.000000000 +0100
@@ -10,3 +10,7 @@
 export GOARCH=$arch
 export GOROOT=/usr/$gopath/go
 export GOBIN=/usr/bin
+
+if [ `id -u` != 0 ]; then
+export GOPATH=$HOME/go:$GOROOT
+fi
\ No newline at end of file

++++++ macros.go ++++++
--- /var/tmp/diff_new_pack.OaYRYE/_old  2012-01-19 09:41:47.000000000 +0100
+++ /var/tmp/diff_new_pack.OaYRYE/_new  2012-01-19 09:41:47.000000000 +0100
@@ -19,6 +19,8 @@
 %go_disable_brp_strip_static_archive \
 %define __os_install_post %(echo '%{__os_install_post}' | sed -e 
's!/usr/lib/rpm/[^/]*/?brp-strip-static-archive %{__strip}!!g')
 
-%go_make HOST_EXTRA_CFLAGS="%{optflags}" gomake
-%go_make_install HOST_EXTRA_CFLAGS="%{optflags}" 
TARGDIR=%{buildroot}%{go_sitearch} gomake install
-%go_make_test HOST_EXTRA_CFLAGS="%{optflags}" gomake test
+%go_make \
+install -d %{buildroot}%{_bindir} \
+HOST_EXTRA_CFLAGS="%{optflags}" TARGDIR=%{buildroot}%{go_sitearch} 
GOBIN=%{buildroot}%{_bindir} gomake
+%go_make_install %{go_make} install
+%go_make_test %{go_make} test

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

Reply via email to