Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2013-10-22 14:51:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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-08-21 10:29:35.000000000 
+0200
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes       2013-10-22 
14:51:35.000000000 +0200
@@ -1,0 +2,17 @@
+Fri Oct 18 14:19:53 UTC 2013 - speili...@suse.com
+
+- Add %go_tooldir macro
+
+-------------------------------------------------------------------
+Fri Oct 18 12:49:52 UTC 2013 - speili...@suse.com
+
+- Update to version 1.2rc2:
+  + New packages: encoding, image/color/palette
+  + Performance improvements
+  + Three-index slices
+  + godoc and vet commands moved to go-go.tools package
+    * Removed godoc-path-locations.patch and godoc.service
+  + Check golang.org/doc/go1.2 for a full list of changes
+- Fix go_ver macro to provide the version number again
+
+-------------------------------------------------------------------

Old:
----
  go1.1.2.src.tar.gz
  godoc-path-locations.patch
  godoc.service

New:
----
  go1.2rc2.src.tar.gz

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

Other differences:
------------------
++++++ go.spec ++++++
--- /var/tmp/diff_new_pack.WNAQT2/_old  2013-10-22 14:51:38.000000000 +0200
+++ /var/tmp/diff_new_pack.WNAQT2/_new  2013-10-22 14:51:38.000000000 +0200
@@ -18,7 +18,7 @@
 
 
 Name:           go
-Version:        1.1.2
+Version:        1.2rc2
 Release:        0
 Summary:        A compiled, garbage-collected, concurrent programming language
 License:        BSD-3-Clause
@@ -28,20 +28,17 @@
 Source1:        rpmlintrc
 Source2:        go.sh
 Source3:        macros.go
-Source4:        godoc.service
 Source6:        go-wiki-gadget.xml
 Source5:        README-openSUSE
-# PATCH-FIX-OPENSUSE adjust documentation paths for API/doc server
-Patch1:         godoc-path-locations.patch
 # PATCH-FIX-OPENSUSE add -s flag to 'go install' (don't rebuild/install std 
libs)
-Patch3:         go-build-dont-reinstall-stdlibs.patch
+Patch1:         go-build-dont-reinstall-stdlibs.patch
 # PATCH-FIX-OPENSUSE re-enable build binary only packages (we are binary 
distro)
 # see http://code.google.com/p/go/issues/detail?id=2775 & also issue 3268
-Patch4:         allow-binary-only-packages.patch
+Patch2:         allow-binary-only-packages.patch
 #PATCH-FIX-OPENSUSE use -x verbose build output for qemu-arm builders
-Patch5:         verbose-build.patch
+Patch3:         verbose-build.patch
 # PATCH-FIX-OPENSUSE BNC#776058
-Patch6:         go-install-dont-reinstall-stdlibs.patch
+Patch4:         go-install-dont-reinstall-stdlibs.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  rpm
 %if 0%{?suse_version} >= 1210
@@ -60,10 +57,6 @@
 Provides:       go-devel-static = %{name}%{version}
 Obsoletes:      go-devel < %{name}%{version}
 ExclusiveArch:  %ix86 x86_64 %arm
-# For godoc service
-%if 0%{?suse_version} >= 1210
-%systemd_requires
-%endif
 
 %description
 Go is an expressive, concurrent, garbage collected systems programming language
@@ -99,11 +92,9 @@
 %prep
 %setup -q -n %{name}
 %patch1 -p1
+%patch2 -p1
 %patch3 -p1
 %patch4 -p1
-%patch5 -p1
-%patch6 -p1
-cp %{SOURCE4} .
 cp %{SOURCE5} .
 
 # setup go_arch (BSD-like scheme)
@@ -134,7 +125,7 @@
 bin/go install -race std
 %endif
 %ifarch %ix86
-strip $GOBIN/go $GOBIN/godoc # bnc#818502
+strip $GOBIN/go # bnc#818502
 %endif
 
 %install
@@ -160,10 +151,6 @@
 install -Dm644 README-openSUSE %{buildroot}%{_libdir}/go/contrib/
 ln -s %{_libdir}/go/contrib/README-openSUSE 
%{buildroot}%{_datadir}/go/contrib/README-openSUSE
 
-# godoc service
-mkdir -p %{buildroot}%{_unitdir}
-install -Dm644 godoc.service %{buildroot}%{_unitdir}/godoc.service
-
 # source files for go install, godoc, etc
 install -d %{buildroot}%{_datadir}/go
 for ext in *.{go,c,h,s,S,py}; do
@@ -176,7 +163,6 @@
 # copy document templates, packages, obj libs and command utilities
 mkdir -p %{buildroot}%{_bindir}
 mkdir -p $GOROOT/lib
-cp -ar lib/godoc $GOROOT/lib
 mv pkg $GOROOT
 mv bin/* %{buildroot}%{_bindir}
 rm -f %{buildroot}%{_bindir}/{hgpatch,quietgcc}
@@ -207,26 +193,6 @@
 %fdupes %{buildroot}%{_prefix}
 %endif
 
-%pre
-%if 0%{?suse_version} >= 1210
-%service_add_pre godoc.service
-%endif
-
-%post
-%if 0%{?suse_version} >= 1210
-%service_add_post godoc.service
-%endif
-
-%preun
-%if 0%{?suse_version} >= 1210
-%service_del_preun godoc.service
-%endif
-
-%postun
-%if 0%{?suse_version} >= 1210
-%service_del_postun godoc.service
-%endif
-
 %files
 %defattr(-,root,root,-)
 %doc AUTHORS CONTRIBUTORS LICENSE PATENTS README README-openSUSE
@@ -246,9 +212,6 @@
 #%%config %{_sysconfdir}/bash_completion.d/go.sh
 %config %{_sysconfdir}/profile.d/go.sh
 %config %{_sysconfdir}/rpm/macros.go
-%if 0%{?suse_version} >= 1210 || 0%{?fedora} >= 16
-%{_unitdir}/godoc.service
-%endif
 
 %files doc
 %defattr(-,root,root,-)


++++++ macros.go ++++++
--- /var/tmp/diff_new_pack.WNAQT2/_old  2013-10-22 14:51:38.000000000 +0200
+++ /var/tmp/diff_new_pack.WNAQT2/_new  2013-10-22 14:51:38.000000000 +0200
@@ -5,7 +5,7 @@
 # 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")
+%go_ver         %(LC_ALL=C rpm -q --qf '%%{epoch}:%%{version}\\n' go | sed -e 
's/(none)://' -e 's/ 0:/ /' | grep -v "is not")
 %go_arch        GOARCH
 %go_build_ver   %(go version | sed 's/^go version //' | sed 's:\/::g' | tr -d 
' ' | cut -c 1-7 )
 
@@ -14,6 +14,7 @@
 %go_sitearch     %{_libdir}/go/pkg/linux_%{go_arch}
 %go_contribdir     %{_libdir}/go/contrib/pkg/linux_%{go_arch}
 %go_contribsrcdir  %{_datadir}/go/contrib/src/pkg
+%go_tooldir        %{_datadir}/go/pkg/tool/linux_%{go_arch}
 
 %go_exclusivearch \
 ExclusiveArch:  %ix86 x86_64 %arm

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to