Hello community,

here is the log from the commit of package golang-googlecode-go-gb for 
openSUSE:Factory checked in at 2017-03-21 22:48:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/golang-googlecode-go-gb (Old)
 and      /work/SRC/openSUSE:Factory/.golang-googlecode-go-gb.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "golang-googlecode-go-gb"

Tue Mar 21 22:48:44 2017 rev:3 rq:479273 version:0.0.0+hg20120331.9a8905a03f7e

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/golang-googlecode-go-gb/golang-googlecode-go-gb.changes
  2016-04-06 11:52:11.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.golang-googlecode-go-gb.new/golang-googlecode-go-gb.changes
     2017-03-21 22:48:48.249101729 +0100
@@ -1,0 +2,10 @@
+Tue Mar  7 15:58:06 UTC 2017 - [email protected]
+
+- Update source 
+
+-------------------------------------------------------------------
+Tue Dec 13 14:40:10 UTC 2016 - [email protected]
+
+- Refactoring based on new packaging proposal
+
+-------------------------------------------------------------------

Old:
----
  go-gb-0.0.0+hg20120330.557.9a8905a03f7e.tar.xz

New:
----
  go-gb-0.0.0+hg20120331.9a8905a03f7e.tar.gz
  rpmlintrc

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

Other differences:
------------------
++++++ golang-googlecode-go-gb.spec ++++++
--- /var/tmp/diff_new_pack.v3GyUV/_old  2017-03-21 22:48:49.596911185 +0100
+++ /var/tmp/diff_new_pack.v3GyUV/_new  2017-03-21 22:48:49.600910620 +0100
@@ -1,7 +1,7 @@
 #
-# spec file for package golang-googlecode-go-gb
+# spec file for package golang
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,38 +16,67 @@
 #
 
 
-Name:           golang-googlecode-go-gb
-Version:        0.0.0+hg20120330.557.9a8905a03f7e
+%global provider        google
+%global provider_sub    code
+%global provider_tld    com
+%global repo            go-gb
+%global provider_prefix %{provider_sub}.%{provider}.%{provider_tld}/p/%{repo}
+%global import_path     %{provider_prefix}
+%global rev             9a8905a03f7e
+%global date            20120331
+
+Name:           golang-%{provider}%{provider_sub}-%{repo}
+Version:        0.0.0+hg%{date}.%{rev}
 Release:        0
-License:       Apache-2.0
 Summary:       Another tool to build go projects
-Url:           http://code.google.com/p/go-gb/
-Group:         Development/Languages/Other
-Source0:       go-gb-%{version}.tar.xz
-BuildRequires:  golang-packaging
-BuildRequires: xz
-Provides:      go-go-gb = %{version}
-Obsoletes:     go-go-gb < %{version}
+License:        Apache-2.0
+Group:          Development/Languages/Golang
+Url:            https://%{provider_prefix}
+Source0:        %{repo}-%{version}.tar.gz
+Source1:        rpmlintrc
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+
+BuildRequires:  golang-packaging
+
+%{go_nostrip}
 %{go_provides}
 
 %description
 Another tool to build go projects, both pure and cgo. Special emphasis on
 multi-package projects with inter-dependencies.
 
+%package -n gb
+Summary:        Another tool to build go projects
+Group:          Development/Languages/Golang
+AutoReqProv:    Off
+
+%{go_exclusivearch}
+
+%description -n gb
+Another tool to build go projects, both pure and cgo. Special emphasis on
+multi-package projects with inter-dependencies.
+
 %prep
-%setup -q -n go-gb-%{version}
+%setup -q -n %{repo}-%{rev}
 
 %build
-%goprep code.google.com/p/go-gb
-%gobuild gb
+%goprep %{import_path}
+%gobuild ...
 
 %install
 %goinstall
+%gosrc
+%gofilelist
 
-%files
-%defattr(-,root,root)
+%check
+#gotest %{import_path}...
+
+%files -f file.lst
+%defattr(-,root,root,-)
 %doc README
+
+%files -n gb
+%defattr(-,root,root)
 %{_bindir}/gb
 
 %changelog

++++++ _service ++++++
--- /var/tmp/diff_new_pack.v3GyUV/_old  2017-03-21 22:48:49.640904965 +0100
+++ /var/tmp/diff_new_pack.v3GyUV/_new  2017-03-21 22:48:49.640904965 +0100
@@ -1,16 +1,5 @@
 <services>
-  <service name="tar_scm" mode="localonly">
-    <param name="url">https://code.google.com/p/go-gb/</param>
-    <param name="scm">hg</param>
-    <param name="exclude">.hg</param>
-    <param 
name="versionformat">0.0.0+hg{date|shortdate}.{rev}.{node|short}</param>
-    <param name="revision">tip</param>
-  </service>
-  <service name="recompress" mode="localonly">
-    <param name="file">go-gb-*.tar</param>
-    <param name="compression">xz</param>
-  </service>
-  <service name="set_version" mode="localonly">
-    <param name="basename">go-gb</param>
+  <service name="download_files" mode="disabled">
+    <param name="recompress">yes</param>
   </service>
 </services>

++++++ rpmlintrc ++++++
# We are preventing the stripping to keep backtraces intact
addFilter("unstripped-binary-or-object")

# Golang doesn't support dynamic linking yet in a proper way
addFilter("statically-linked-binary")

# We are aware of that but shorter names are not possible
addFilter("filename-too-long-for-joliet")

Reply via email to