Hello community,
here is the log from the commit of package golang-github-petar-gollrb for openSUSE:Factory checked in at 2017-03-24 02:15:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/golang-github-petar-gollrb (Old)
and /work/SRC/openSUSE:Factory/.golang-github-petar-gollrb.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "golang-github-petar-gollrb"
Fri Mar 24 02:15:56 2017 rev:2 rq:477179 version:0.0.0+git20130427.53be0d3
Changes:
--------
--- /work/SRC/openSUSE:Factory/golang-github-petar-gollrb/golang-github-petar-gollrb.changes 2015-08-01 11:36:03.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.golang-github-petar-gollrb.new/golang-github-petar-gollrb.changes 2017-03-24 02:15:58.320306791 +0100
@@ -1,0 +2,5 @@
+Mon Dec 19 09:00:11 UTC 2016 - tboerger@suse.com
+
+- Refactoring based on new packaging proposal
+
+-------------------------------------------------------------------
New:
----
rpmlintrc
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ golang-github-petar-gollrb.spec ++++++
--- /var/tmp/diff_new_pack.Cq7tmH/_old 2017-03-24 02:15:59.076199840 +0100
+++ /var/tmp/diff_new_pack.Cq7tmH/_new 2017-03-24 02:15:59.076199840 +0100
@@ -1,8 +1,7 @@
#
-# spec file for package golang-github-petar-gollrb
+# spec file for package golang
#
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
-# Copyright (c) 2011 Sascha Peilicke
+# 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,45 +16,54 @@
#
-Name: golang-github-petar-gollrb
+%global provider github
+%global provider_tld com
+%global project petar
+%global repo GoLLRB
+%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
+%global import_path %{provider_prefix}
+
+Name: golang-%{provider}-%{project}-gollrb
Version: 0.0.0+git20130427.53be0d3
Release: 0
Summary: Left-Leaning Red-Black balanced binary search tree
License: BSD-3-Clause
-Group: Development/Languages/Other
-Url: http://github.com/petar/GoLLRB
-Source: GoLLRB-%{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-GoLLRB = %{version}
-Obsoletes: go-GoLLRB < %{version}
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
+
+%{go_nostrip}
%{go_provides}
%description
-GoLLRB is a Left-Leaning Red-Black (LLRB) implementation of 2-3 balanced
-binary search trees in Google Go.
-
-%gosrc_package
+GoLLRB is a Left-Leaning Red-Black (LLRB) implementation of 2-3 balanced binary
+search trees in Google Go.
%prep
-%setup -q -n GoLLRB-%{version}
+%setup -q -n %{repo}-%{version}
+
+# do not build these examples
+rm -rf example
%build
-%goprep github.com/petar/GoLLRB
-%gobuild llrb
+%goprep %{import_path}
+%gobuild ...
%install
%goinstall
%gosrc
+%gofilelist
+
+%check
+%gotest %{import_path}...
-%files
-%defattr(-,root,root)
-%doc LICENSE README.md example
-%{go_contribdir}/*
-
-%files source
-%defattr(-,root,root)
-%{go_contribsrcdir}/*
+%files -f file.lst
+%defattr(-,root,root,-)
+%doc README.md LICENSE AUTHORS
%changelog
++++++ _service ++++++
--- /var/tmp/diff_new_pack.Cq7tmH/_old 2017-03-24 02:15:59.112194746 +0100
+++ /var/tmp/diff_new_pack.Cq7tmH/_new 2017-03-24 02:15:59.112194746 +0100
@@ -1,16 +1,17 @@
<services>
- <service name="tar_scm" mode="localonly">
- <param name="url">https://github.com/petar/GoLLRB.git</param>
+ <service name="tar_scm" mode="disabled">
+ <param name="url">https://github.com/petar/GoLLRB</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">GoLLRB-*.tar</param>
<param name="compression">xz</param>
</service>
- <service name="set_version" mode="localonly">
+ <service name="set_version" mode="disabled">
<param name="basename">GoLLRB</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")