Hello community,

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

Package is "golang-googlecode-goconf"

Tue Mar 21 22:48:51 2017 rev:2 rq:479274 version:0.0.0+hg20120508.a4db5c465ed1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/golang-googlecode-goconf/golang-googlecode-goconf.changes
        2015-08-01 11:36:30.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.golang-googlecode-goconf.new/golang-googlecode-goconf.changes
   2017-03-21 22:48:55.132128655 +0100
@@ -1,0 +2,10 @@
+Tue Mar  7 15:59:27 UTC 2017 - th...@suse.de
+
+- Update source 
+
+-------------------------------------------------------------------
+Tue Dec 13 14:40:07 UTC 2016 - tboer...@suse.com
+
+- Refactoring based on new packaging proposal
+
+-------------------------------------------------------------------

Old:
----
  goconf-0.0.0+hg20120508.16.a4db5c465ed1.tar.xz

New:
----
  goconf-0.0.0+hg20120508.a4db5c465ed1.tar.gz
  rpmlintrc

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

Other differences:
------------------
++++++ golang-googlecode-goconf.spec ++++++
--- /var/tmp/diff_new_pack.jqBoyg/_old  2017-03-21 22:48:56.032001437 +0100
+++ /var/tmp/diff_new_pack.jqBoyg/_new  2017-03-21 22:48:56.036000872 +0100
@@ -1,8 +1,7 @@
 #
-# spec file for package golang-googlecode-goconf
+# spec file for package golang
 #
-# Copyright (c) 2011, Sascha Peilicke <sasc...@gmx.de>
-# 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,43 +15,55 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-Name:           golang-googlecode-goconf
-Version:        0.0.0+hg20120508.16.a4db5c465ed1
+
+%global provider        google
+%global provider_sub    code
+%global provider_tld    com
+%global repo            goconf
+%global provider_prefix %{provider_sub}.%{provider}.%{provider_tld}/p/%{repo}
+%global import_path     %{provider_prefix}
+%global rev             a4db5c465ed1
+%global date            20120508
+
+Name:           golang-%{provider}%{provider_sub}-%{repo}
+Version:        0.0.0+hg%{date}.%{rev}
 Release:        0
 Summary:        Configuration file parser for the Go Programming Language
-Group:          Development/Languages/Other
 License:        BSD-3-Clause
-URL:            http://code.google.com/p/goconf
-Source0:        goconf-%{version}.tar.xz
+Group:          Development/Languages/Golang
+Url:            https://%{provider_prefix}
+Source0:        %{repo}-%{version}.tar.gz
+Source1:        rpmlintrc
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+
 BuildRequires:  golang-packaging
-BuildRequires: xz
-Provides:      go-goconf = %{version}
-Obsoletes:     go-goconf < %{version}
+
+%{go_nostrip}
 %{go_provides}
 
 %description
 A simple configuration file parser for the Go programming language.
 
-%gosrc_package
-
 %prep
-%setup -q -n goconf-%{version}
+%setup -q -n %{repo}-%{rev}
+
+# do not build these examples
+rm -rf examples
 
 %build
-%goprep code.google.com/p/goconf
-%gobuild conf
+%goprep %{import_path}
+%gobuild ...
 
 %install
 %goinstall
 %gosrc
+%gofilelist
 
-%files
-%defattr(-,root,root,-)
-%{go_contribdir}/*
+%check
+%gotest %{import_path}...
 
-%files source
+%files -f file.lst
 %defattr(-,root,root,-)
-%{go_contribsrcdir}/*
+%doc conf/AUTHORS conf/COPYRIGHT
 
 %changelog

++++++ _service ++++++
--- /var/tmp/diff_new_pack.jqBoyg/_old  2017-03-21 22:48:56.075995217 +0100
+++ /var/tmp/diff_new_pack.jqBoyg/_new  2017-03-21 22:48:56.075995217 +0100
@@ -1,16 +1,5 @@
 <services>
-  <service name="tar_scm" mode="localonly">
-    <param name="url">https://code.google.com/p/goconf/</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">goconf-*.tar</param>
-    <param name="compression">xz</param>
-  </service>
-  <service name="set_version" mode="localonly">
-    <param name="basename">goconf</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