Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2016-06-19 13:54:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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    2016-06-12 18:55:29.000000000 
+0200
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes       2016-06-19 
13:54:13.000000000 +0200
@@ -1,0 +2,5 @@
+Fri Jun 17 01:52:50 UTC 2016 - i...@marguerite.su
+
+- install shared libraries.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ go.spec ++++++
--- /var/tmp/diff_new_pack.SAspSt/_old  2016-06-19 13:54:14.000000000 +0200
+++ /var/tmp/diff_new_pack.SAspSt/_new  2016-06-19 13:54:14.000000000 +0200
@@ -27,6 +27,23 @@
 %endif
 
 %define go_api 1.6
+
+# shared library support
+%define shared_supported %(echo "%{go_api} >= 1.5" | bc -l)
+%if %{shared_supported}
+%if %{with_gccgo}
+%define with_shared 1
+%else
+%ifarch %ix86 %arm x86_64 aarch64
+%define with_shared 1
+%else
+%define with_shared 0
+%endif
+%endif
+%else
+%define with_shared 0
+%endif
+
 Name:           go
 Version:        1.6.2
 Release:        0
@@ -77,6 +94,7 @@
 BuildRequires:  rpm >= 4.11.1
 %endif
 %endif
+BuildRequires:  bc
 # for go.gdbinit, directory ownership
 BuildRequires:  gdb
 Requires(post):        update-alternatives
@@ -161,7 +179,10 @@
 %ifarch x86_64
 # Install race detection version of std libraries (amd64 only)
 bin/go install -race std
-bin/go install -buildmode=shared std
+%endif
+ 
+%if %{with_shared}
+bin/go install -buildmode=shared -linkshared std
 %endif
 
 %install


Reply via email to