Hello community,
here is the log from the commit of package golang-github-exercism-cli for
openSUSE:Factory checked in at 2017-03-24 02:15:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/golang-github-exercism-cli (Old)
and /work/SRC/openSUSE:Factory/.golang-github-exercism-cli.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "golang-github-exercism-cli"
Fri Mar 24 02:15:27 2017 rev:3 rq:477166 version:2.3.0+git20160807.ca8a22e
Changes:
--------
---
/work/SRC/openSUSE:Factory/golang-github-exercism-cli/golang-github-exercism-cli.changes
2016-08-24 10:09:10.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.golang-github-exercism-cli.new/golang-github-exercism-cli.changes
2017-03-24 02:15:27.848618248 +0100
@@ -1,0 +2,20 @@
+Wed Dec 07 16:26:12 UTC 2016 - [email protected]
+
+- Update to version 2.3.0+git20160807.ca8a22e:
+ * update codegangsta/urfave url
+ * Update url for package cli from codegangsta/cli to urfave/cli
+ * Update all reference of codegangsta/cli to urfave/cli
+ * Add '--all' flag to 'fetch' command
+ * Move FetchAll to method on *api.Client
+ * Add test for client.FetchAll
+ * Don't run command if API key is missing.
+ * Update changelog
+ * Bump version to v2.3.0
+ * Update the CHANGELOG profile entries
+
+-------------------------------------------------------------------
+Wed Dec 7 16:21:24 UTC 2016 - [email protected]
+
+- Refactoring based on new packaging proposal
+
+-------------------------------------------------------------------
Old:
----
cli-2.3.0.tar.gz
golang-github-exercism-cli-rpmlintrc
New:
----
_service
cli-2.3.0+git20160807.ca8a22e.tar.xz
rpmlintrc
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ golang-github-exercism-cli.spec ++++++
--- /var/tmp/diff_new_pack.C1kVB1/_old 2017-03-24 02:15:28.452532800 +0100
+++ /var/tmp/diff_new_pack.C1kVB1/_new 2017-03-24 02:15:28.452532800 +0100
@@ -1,5 +1,5 @@
#
-# spec file for package golang-github-exercism-cli
+# spec file for package golang
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
@@ -16,50 +16,64 @@
#
-%define srcname cli
-Name: golang-github-exercism-cli
-Version: 2.3.0
+%global provider github
+%global provider_tld com
+%global project exercism
+%global repo cli
+%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
+%global import_path %{provider_prefix}
+
+Name: golang-%{provider}-%{project}-%{repo}
+Version: 2.3.0+git20160807.ca8a22e
Release: 0
Summary: A Go based command line tool for exercism.io
License: MIT
-Group: Development/Languages/Other
-Url: http://exercism.io
-Source:
https://github.com/exercism/cli/archive/v%{version}.tar.gz#/cli-%{version}.tar.gz
-Source1: golang-github-exercism-cli-rpmlintrc
-BuildRequires: golang(golang.org/x/tools)
+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
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
+
+%{go_nostrip}
%{go_provides}
%description
The CLI provides a way to do the problems on exercism.io.
-%gosrc_package
+%package -n exercism
+Summary: A Go based command line tool for exercism.io
+Group: Development/Languages/Golang
+AutoReqProv: Off
+
+%{go_exclusivearch}
+
+%description -n exercism
+The CLI provides a way to do the problems on exercism.io.
%prep
-%setup -q -n %{srcname}-%{version}
+%setup -q -n %{repo}-%{version}
%build
-%goprep github.com/exercism/cli
+%goprep %{import_path}
%gobuild ...
%install
%goinstall
%gosrc
-
-%go_filelist
-%go_filelist --source
+%gofilelist
%check
-%gotest github.com/exercism/cli
+%gotest %{import_path}...
%files -f file.lst
-%defattr(-,root,root)
-%doc LICENSE* README*
-%{_bindir}/exercism
+%defattr(-,root,root,-)
+%doc README.md CHANGELOG.md RELEASE.md LICENSE
-%files source -f source.lst
+%files -n exercism
%defattr(-,root,root)
+%{_bindir}/exercism
%changelog
++++++ _service ++++++
<services>
<service name="tar_scm" mode="disabled">
<param name="url">https://github.com/exercism/cli</param>
<param name="scm">git</param>
<param name="exclude">.git</param>
<param name="versionformat">2.3.0+git%cd.%h</param>
<param name="revision">v2.3.0</param>
<param name="changesgenerate">enable</param>
</service>
<service name="recompress" mode="disabled">
<param name="file">cli-*.tar</param>
<param name="compression">xz</param>
</service>
<service name="set_version" mode="disabled">
<param name="basename">cli</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")