Hello community,

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

Package is "golang-github-dchest-authcookie"

Fri Mar 24 02:15:24 2017 rev:3 rq:477165 version:0.0.0+git20120917.fbdef6e

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/golang-github-dchest-authcookie/golang-github-dchest-authcookie.changes
  2016-04-06 11:51:55.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.golang-github-dchest-authcookie.new/golang-github-dchest-authcookie.changes
     2017-03-24 02:15:25.168997389 +0100
@@ -1,0 +2,5 @@
+Wed Dec  7 15:31:49 UTC 2016 - [email protected]
+
+- Refactoring based on new packaging proposal
+
+-------------------------------------------------------------------

New:
----
  rpmlintrc

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

Other differences:
------------------
++++++ golang-github-dchest-authcookie.spec ++++++
--- /var/tmp/diff_new_pack.QdcXLw/_old  2017-03-24 02:15:25.700922126 +0100
+++ /var/tmp/diff_new_pack.QdcXLw/_new  2017-03-24 02:15:25.700922126 +0100
@@ -1,8 +1,7 @@
 #
-# spec file for package golang-github-dchest-authcookie
+# 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,48 +16,51 @@
 #
 
 
-Name:           golang-github-dchest-authcookie
+%global provider        github
+%global provider_tld    com
+%global project         dchest
+%global repo            authcookie
+%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
+%global import_path     %{provider_prefix}
+
+Name:           golang-%{provider}-%{project}-%{repo}
 Version:        0.0.0+git20120917.fbdef6e
 Release:        0
 Summary:        Creation and verification of signed authentication cookies
 License:        MIT
-Group:          Development/Languages/Other
-Url:            https://github.com/dchest/authcookie
-Source0:        authcookie-%{version}.tar.xz
+Group:          Development/Languages/Golang
+Url:            https://%{provider_prefix}
+Source0:        %{repo}-%{version}.tar.xz
+Source1:        rpmlintrc
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+
 BuildRequires:  golang-packaging
 BuildRequires:  xz
-Provides:      go-authcookie = %{version}
-Obsoletes:     go-authcookie < %{version}
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+
+%{go_nostrip}
 %{go_provides}
 
 %description
 Package authcookie implements the creation and verification of signed
 authentication cookies.
 
-%gosrc_package
-
 %prep
-%setup -q -n authcookie-%{version}
+%setup -q -n %{repo}-%{version}
 
 %build
-%goprep github.com/dchest/authcookie
-%gobuild
+%goprep %{import_path}
+%gobuild ...
 
 %install
 %goinstall
 %gosrc
+%gofilelist
 
 %check
-%gotest github.com/dchest/authcookie
-
-%files
-%defattr(-,root,root,-)
-%doc LICENSE README.md
-%{go_contribdir}/*
+%gotest %{import_path}...
 
-%files source
+%files -f file.lst
 %defattr(-,root,root,-)
-%{go_contribsrcdir}/*
+%doc README.md LICENSE
 
 %changelog

++++++ _service ++++++
--- /var/tmp/diff_new_pack.QdcXLw/_old  2017-03-24 02:15:25.736917034 +0100
+++ /var/tmp/diff_new_pack.QdcXLw/_new  2017-03-24 02:15:25.740916468 +0100
@@ -1,16 +1,17 @@
 <services>
-  <service name="tar_scm" mode="localonly">
-    <param name="url">https://github.com/dchest/authcookie.git</param>
+  <service name="tar_scm" mode="disabled">
+    <param name="url">https://github.com/dchest/authcookie</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">authcookie-*.tar</param>
     <param name="compression">xz</param>
   </service>
-  <service name="set_version" mode="localonly">
+  <service name="set_version" mode="disabled">
     <param name="basename">authcookie</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