Hello community, here is the log from the commit of package go for openSUSE:Factory checked in at 2013-08-21 10:29:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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 2013-07-18 17:31:21.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.go.new/go.changes 2013-08-21 10:29:35.000000000 +0200 @@ -1,0 +2,39 @@ +Wed Aug 14 13:50:05 UTC 2013 - speili...@suse.com + +- Fix Factory i586 build failure by stripping binaries earlier. + +------------------------------------------------------------------- +Tue Aug 13 14:10:54 UTC 2013 - speili...@suse.com + +- Rework %go_prep again, use "shopt -s dotglob" to catch hidden files +- Change %go_requires to "Require: go >= %go_ver" instead of + "Require: go-devel = %go_ver". Go follows a stable release policy which + means patch-level updates are (supposed to be) compatible. + +------------------------------------------------------------------- +Tue Aug 13 12:32:44 UTC 2013 - speili...@suse.com + +- Update to version 1.1.2: + + includes fixes to the gc compiler and cgo, and the bufio, runtime, syscall, + and time packages. See the change history for details. If you use package + syscall's Getrlimit and Setrlimit functions under Linux on the ARM or 386 + architectures, please note change 55ac276af5a7 that fixes issue 5949. +- Fix %go_prep again: Also move hidden files (.$BLA) + +------------------------------------------------------------------- +Tue Aug 13 09:42:03 UTC 2013 - speili...@suse.com + +- Also set ExclusiveArch in %go_requires macro. Allows to drop + %go_exclusivearch again +- Fix %go_prep macro: Find directories in %_builddir based on Go + package name prefix (not exact match). + +------------------------------------------------------------------- +Tue Aug 13 07:27:24 UTC 2013 - speili...@suse.com + +- Fix URL +- Add %go_exclusivearch macro. It's better to only specify ExclusiveArch + in the "go" package instead of all Go packages. Avoids errors once + Go becomes available on more architectures + +------------------------------------------------------------------- Old: ---- go1.1.1.src.tar.gz New: ---- go1.1.2.src.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ go.spec ++++++ --- /var/tmp/diff_new_pack.Or5xnc/_old 2013-08-21 10:29:37.000000000 +0200 +++ /var/tmp/diff_new_pack.Or5xnc/_new 2013-08-21 10:29:37.000000000 +0200 @@ -18,11 +18,12 @@ Name: go -Version: 1.1.1 +Version: 1.1.2 Release: 0 Summary: A compiled, garbage-collected, concurrent programming language License: BSD-3-Clause -Group: Development/Languages/OthUrl: http://golang.org +Group: Development/Languages/Other +Url: http://golang.org Source0: http://go.googlecode.com/files/go%{version}.src.tar.gz Source1: rpmlintrc Source2: go.sh @@ -50,6 +51,10 @@ %if 0%{?suse_version} >= 1100 BuildRequires: fdupes Recommends: go-doc +#BNC#818502 debug edit tool of rpm fails on i586 builds +%if 0%{?suse_version} > 1230 +BuildRequires: rpm >= 4.11.1 +%endif %endif Provides: go-devel = %{name}%{version} Provides: go-devel-static = %{name}%{version} @@ -128,6 +133,9 @@ cd ../ bin/go install -race std %endif +%ifarch %ix86 +strip $GOBIN/go $GOBIN/godoc # bnc#818502 +%endif %install export GOROOT="%{buildroot}%{_libdir}/%{name}" ++++++ go1.1.1.src.tar.gz -> go1.1.2.src.tar.gz ++++++ /work/SRC/openSUSE:Factory/go/go1.1.1.src.tar.gz /work/SRC/openSUSE:Factory/.go.new/go1.1.2.src.tar.gz differ: char 13, line 1 ++++++ macros.go ++++++ --- /var/tmp/diff_new_pack.Or5xnc/_old 2013-08-21 10:29:37.000000000 +0200 +++ /var/tmp/diff_new_pack.Or5xnc/_new 2013-08-21 10:29:37.000000000 +0200 @@ -2,6 +2,7 @@ # # Copyright: (c) 2011 Sascha Peilicke <sasc...@gmx.de> # Copyright: (c) 2012 Graham Anderson <gra...@andtech.eu> +# Copyright: (c) 2013 SUSE Linux Products GmbH # %go_ver %(LC_ALL=C rpm -q --qf '%%{epoch}:%%{version}\\n' go | sed -e 's/ (none):/ /' -e 's/ 0:/ /' | grep -v "is not") @@ -14,7 +15,12 @@ %go_contribdir %{_libdir}/go/contrib/pkg/linux_%{go_arch} %go_contribsrcdir %{_datadir}/go/contrib/src/pkg -%go_requires Requires: go-devel = %go_build_ver +%go_exclusivearch \ +ExclusiveArch: %ix86 x86_64 %arm + +%go_requires \ +ExclusiveArch: %ix86 x86_64 %arm \ +Requires: go >= %go_build_ver %go_provides \ Provides: %{name}-devel = %{version} \ @@ -36,10 +42,14 @@ export IMPORTPATH=%1 \ fi \ # create the importpath and move the package there \ -mkdir -p $GOPATH/src/$IMPORTPATH && mv ./* $GOPATH/src/$IMPORTPATH \ +pkg_dir=$(basename $PWD) \ +cd %{_builddir} \ +mkdir -p $GOPATH/src/$IMPORTPATH \ +(shopt -s dotglob; mv -- ${pkg_dir}/* $GOPATH/src/$IMPORTPATH) \ # now link the old location to the new (for compatibility) \ -cd %{_builddir} && rmdir %{_builddir}/%(basename %1) \ -ln -s $GOPATH/src/$IMPORTPATH %{_builddir}/%(basename %1) \ +rmdir ${pkg_dir} \ +ln -s $GOPATH/src/$IMPORTPATH ${pkg_dir} \ +cd ${pkg_dir} \ # we'll be installing packages/binaries, make the targ dirs \ install -d %{buildroot}%{go_contribdir} \ install -d %{buildroot}%{_bindir} \ -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org