Hello community,

here is the log from the commit of package golang-github-philio-gomysql for 
openSUSE:Factory checked in at 2017-03-24 02:15:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/golang-github-philio-gomysql (Old)
 and      /work/SRC/openSUSE:Factory/.golang-github-philio-gomysql.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "golang-github-philio-gomysql"

Fri Mar 24 02:15:58 2017 rev:2 rq:477180 version:0.0.0+git20110531.e621cd9

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/golang-github-philio-gomysql/golang-github-philio-gomysql.changes
        2015-08-01 11:36:01.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.golang-github-philio-gomysql.new/golang-github-philio-gomysql.changes
   2017-03-24 02:15:59.340162491 +0100
@@ -1,0 +2,5 @@
+Mon Dec 19 08:54:21 UTC 2016 - [email protected]
+
+- Refactoring based on new packaging proposal
+
+-------------------------------------------------------------------

New:
----
  rpmlintrc

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

Other differences:
------------------
++++++ golang-github-philio-gomysql.spec ++++++
--- /var/tmp/diff_new_pack.gbrLzp/_old  2017-03-24 02:16:00.891942929 +0100
+++ /var/tmp/diff_new_pack.gbrLzp/_new  2017-03-24 02:16:00.895942363 +0100
@@ -1,8 +1,7 @@
 #
-# spec file for package golang-github-philio-gomysql
+# spec file for package golang
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
-# Copyright (c) 2011 Sascha Peilicke <[email protected]>
+# Copyright (c) 2016 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
@@ -17,25 +16,37 @@
 #
 
 
-Name:           golang-github-philio-gomysql
+%global provider        github
+%global provider_tld    com
+%global project         Philio
+%global repo            GoMySQL
+%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
+%global import_path     %{provider_prefix}
+
+Name:           golang-%{provider}-philio-gomysql
 Version:        0.0.0+git20110531.e621cd9
 Release:        0
 Summary:        MySQL client library written completely in Go
 License:        BSD-3-Clause
-Group:          Development/Languages/Other
-Url:            https://github.com/Philio/GoMySQL
-Source:         GoMySQL-%{version}.tar.xz
+Group:          Development/Languages/Golang
+Url:            https://%{provider_prefix}
+Source0:        %{repo}-%{version}.tar.xz
+Source1:        rpmlintrc
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+
 # PATCH-FIX-UPSTREAM [email protected] fix 'err is shadowed'
-Patch:         shadowed-err.patch
+Patch0:         shadowed-err.patch
+
 # PATCH-FIX-UPSTREAM [email protected] fix Atoi64 and such
 Patch1:                strconv.patch
+
 # PATCH-FIX-UPSTREAM [email protected] fix crypt/sha1 Sum()
 Patch2:                crypt.sum.patch
+
 BuildRequires:  golang-packaging
 BuildRequires: xz
-Provides:      go-GoMySQL = %{version}
-Obsoletes:     go-GoMySQL < %{version}
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+
+%{go_nostrip}
 %{go_provides}
 
 %description
@@ -45,29 +56,26 @@
 available for other languages to provide an easy migration of MySQL based
 systems into the Go language.
 
-%gosrc_package
-
 %prep
-%setup -q -n GoMySQL-%{version}
-%patch -p1
+%setup -q -n %{repo}-%{version}
+%patch0 -p1
 %patch1 -p1
 %patch2 -p1
 
 %build
-%goprep github.com/Philio/GoMySQL
+%goprep %{import_path}
 %gobuild ...
 
 %install
 %goinstall
 %gosrc
+%gofilelist
 
-%files
-%defattr(-,root,root,-)
-%doc README.markdown LICENSE
-%{go_contribdir}/*
+%check
+#gotest %{import_path}...
 
-%files source
+%files -f file.lst
 %defattr(-,root,root,-)
-%{go_contribsrcdir}/*
+%doc README.markdown LICENSE
 
 %changelog

++++++ _service ++++++
--- /var/tmp/diff_new_pack.gbrLzp/_old  2017-03-24 02:16:00.935936704 +0100
+++ /var/tmp/diff_new_pack.gbrLzp/_new  2017-03-24 02:16:00.939936138 +0100
@@ -1,16 +1,17 @@
 <services>
-  <service name="tar_scm" mode="localonly">
-    <param name="url">https://github.com/Philio/GoMySQL.git</param>
+  <service name="tar_scm" mode="disabled">
+    <param name="url">https://github.com/Philio/GoMySQL</param>
     <param name="scm">git</param>
     <param name="exclude">.git</param>
     <param name="versionformat">0.0.0+git%cd.%h</param>
     <param name="revision">master</param>
+    <param name="changesgenerate">enable</param>
   </service>
-  <service name="recompress" mode="localonly">
+  <service name="recompress" mode="disabled">
     <param name="file">GoMySQL-*.tar</param>
     <param name="compression">xz</param>
   </service>
-  <service name="set_version" mode="localonly">
+  <service name="set_version" mode="disabled">
     <param name="basename">GoMySQL</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