Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2016-01-12 16:12:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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-01-07 00:24:33.000000000 
+0100
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes       2016-01-12 
16:13:08.000000000 +0100
@@ -1,0 +2,5 @@
+Sun Jan 10 17:01:28 UTC 2016 - i...@marguerite.su
+
+- macro.go and golang-macros.rb moved to golang-packaging
+
+-------------------------------------------------------------------

Old:
----
  golang-macros.rb
  macros.go

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

Other differences:
------------------
++++++ go.spec ++++++
--- /var/tmp/diff_new_pack.G6w49d/_old  2016-01-12 16:13:09.000000000 +0100
+++ /var/tmp/diff_new_pack.G6w49d/_new  2016-01-12 16:13:09.000000000 +0100
@@ -37,9 +37,7 @@
 Source0:        http://golang.org/dl/go%{version}.src.tar.gz
 Source1:        go-rpmlintrc
 Source2:        go.sh
-Source3:        macros.go
 Source4:        README.SUSE
-Source5:        golang-macros.rb
 Source6:        go.gdbinit
 # PATCH-FIX-OPENSUSE add -s flag to 'go install' (don't rebuild/install std 
libs)
 Patch1:         go-1.5-build-dont-reinstall-stdlibs.patch
@@ -145,7 +143,6 @@
 %ifarch ppc64le
 %define go_arch ppc64le
 %endif
-sed -i 's|GOARCH|%{go_arch}|' %{SOURCE3}
 
 %build
 %if %{with_gccgo}
@@ -160,9 +157,9 @@
 cd src
 HOST_EXTRA_CFLAGS="%{optflags} -Wno-error" ./make.bash
 
+cd ../
 %ifarch x86_64
 # Install race detection version of std libraries (amd64 only)
-cd ../
 bin/go install -race std
 bin/go install -buildmode=shared std
 %endif
@@ -218,10 +215,6 @@
 cp -r AUTHORS CONTRIBUTORS CONTRIBUTING.md LICENSE PATENTS README.md 
README.SUSE %{buildroot}%{_docdir}/%{name}
 cp -r doc/* %{buildroot}%{_docdir}/%{name}
 
-# install RPM macros ($GOARCH prepared in %%prep section)
-install -Dm644 %{SOURCE3} %{buildroot}%{_sysconfdir}/rpm/macros.go
-install -Dm755 %{SOURCE5} %{buildroot}%{_prefix}/lib/rpm/golang-macros.rb
-
 # gdbinit
 mkdir -p %{buildroot}%{_sysconfdir}/gdbinit.d
 install -m 0644 %{SOURCE6} %{buildroot}%{_sysconfdir}/gdbinit.d/go.gdb
@@ -254,8 +247,6 @@
 %ghost %{_sysconfdir}/alternatives/gofmt
 %ghost %{_sysconfdir}/alternatives/go.sh
 %config %{_sysconfdir}/profile.d/go.sh
-%config %{_sysconfdir}/rpm/macros.go
-%{_prefix}/lib/rpm/golang-macros.rb
 %config %{_sysconfdir}/gdbinit.d/go.gdb
 %dir %{_docdir}/%{name}/
 %doc %{_docdir}/%{name}/AUTHORS


Reply via email to