Hello community,
here is the log from the commit of package golang-bitbucket-taruti-bigendian
for openSUSE:Factory checked in at 2017-03-24 02:15:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/golang-bitbucket-taruti-bigendian (Old)
and /work/SRC/openSUSE:Factory/.golang-bitbucket-taruti-bigendian.new
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "golang-bitbucket-taruti-bigendian"
Fri Mar 24 02:15:18 2017 rev:2 rq:477161
version:0.0.0+hg20130320.25.37f0ed9bf940
Changes:
--------
---
/work/SRC/openSUSE:Factory/golang-bitbucket-taruti-bigendian/golang-bitbucket-taruti-bigendian.changes
2015-08-01 11:36:19.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.golang-bitbucket-taruti-bigendian.new/golang-bitbucket-taruti-bigendian.changes
2017-03-24 02:15:18.585928830 +0100
@@ -1,0 +2,5 @@
+Wed Dec 7 08:19:47 UTC 2016 - [email protected]
+
+- Refactoring based on new packaging proposal
+
+-------------------------------------------------------------------
New:
----
rpmlintrc
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ golang-bitbucket-taruti-bigendian.spec ++++++
--- /var/tmp/diff_new_pack.7FNzv3/_old 2017-03-24 02:15:20.137709268 +0100
+++ /var/tmp/diff_new_pack.7FNzv3/_new 2017-03-24 02:15:20.137709268 +0100
@@ -1,8 +1,7 @@
#
-# spec file for package golang-bitbucket-taruti-bigendian
+# spec file for package golang
#
-# Copyright (c) 2013 Sascha Peilicke <[email protected]>
-# Copyright (c) 2013 SUSE Linux Products GmbH
+# 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
@@ -16,47 +15,51 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
-Name: golang-bitbucket-taruti-bigendian
+
+%global provider bitbucket
+%global provider_tld org
+%global project taruti
+%global repo bigendian
+%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
+%global import_path %{provider_prefix}
+
+Name: golang-%{provider}-%{project}-%{repo}
Version: 0.0.0+hg20130320.25.37f0ed9bf940
Release: 0
Summary: Binary parsing/printing for Go
-Group: Development/Languages/Other
License: MIT
-URL: https://bitbucket.org/taruti/bigendian
-Source0: bigendian-%{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-bigendian = %{version}
-Obsoletes: go-bigendian < %{version}
+
+%{go_nostrip}
%{go_provides}
%description
Binary parsing and printing for the Go programming language.
-%gosrc_package
-
%prep
-%setup -q -n bigendian-%{version}
+%setup -q -n %{repo}-%{version}
%build
-%goprep bitbucket.org/taruti/bigendian
+%goprep %{import_path}
%gobuild ...
%install
%goinstall
%gosrc
+%gofilelist
%check
-%gotest bitbucket.org/taruti/bigendian
+%gotest %{import_path}...
-%files
+%files -f file.lst
%defattr(-,root,root,-)
%doc LICENSE
-%{go_contribdir}/*
-
-%files source
-%defattr(-,root,root,-)
-%{go_contribsrcdir}/*
%changelog
++++++ _service ++++++
--- /var/tmp/diff_new_pack.7FNzv3/_old 2017-03-24 02:15:20.169704741 +0100
+++ /var/tmp/diff_new_pack.7FNzv3/_new 2017-03-24 02:15:20.173704174 +0100
@@ -1,16 +1,17 @@
<services>
- <service name="tar_scm" mode="localonly">
+ <service name="tar_scm" mode="disabled">
<param name="url">https://bitbucket.org/taruti/bigendian</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>
+ <param name="changesgenerate">disable</param>
</service>
- <service name="recompress" mode="localonly">
+ <service name="recompress" mode="disabled">
<param name="file">bigendian-*.tar</param>
<param name="compression">xz</param>
</service>
- <service name="set_version" mode="localonly">
+ <service name="set_version" mode="disabled">
<param name="basename">bigendian</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")