Hello community,
here is the log from the commit of package golang-github-kr-pretty for
openSUSE:Factory checked in at 2017-03-24 02:15:48
Comparing /work/SRC/openSUSE:Factory/golang-github-kr-pretty (Old)
and /work/SRC/openSUSE:Factory/.golang-github-kr-pretty.new (New)
Package is "golang-github-kr-pretty"
Fri Mar 24 02:15:48 2017 rev:3 rq:477175 version:0.0.0+git20160823.cfb55aa
Changes:
---
/work/SRC/openSUSE:Factory/golang-github-kr-pretty/golang-github-kr-pretty.changes
2016-04-06 11:51:58.0 +0200
+++
/work/SRC/openSUSE:Factory/.golang-github-kr-pretty.new/golang-github-kr-pretty.changes
2017-03-24 02:15:49.413567011 +0100
@@ -1,0 +2,19 @@
+Thu Dec 08 13:30:08 UTC 2016 - tboer...@suse.com
+
+- Update to version 0.0.0+git20160823.cfb55aa:
+ * Run 'gofmt -w -s' on sources
+ * Add Sprint
+ * diff unexported struct fields
+ * Remove unused code (#29)
+ * add new Printfer interface
+ * add trailing newline in Fdiff after each item
+ * add new Logfer interface
+ * diff all map key types
+ * Fix passthrough handling (#37). (#38)
+
+---
+Thu Dec 8 13:09:39 UTC 2016 - tboer...@suse.com
+
+- Refactoring based on new packaging proposal
+
+---
Old:
pretty-0.0.0+git20150520.e6ac2fc.tar.xz
New:
pretty-0.0.0+git20160823.cfb55aa.tar.xz
rpmlintrc
Other differences:
--
++ golang-github-kr-pretty.spec ++
--- /var/tmp/diff_new_pack.MtpF0I/_old 2017-03-24 02:15:50.057475905 +0100
+++ /var/tmp/diff_new_pack.MtpF0I/_new 2017-03-24 02:15:50.061475338 +0100
@@ -1,8 +1,7 @@
#
-# spec file for package golang-github-kr-pretty
+# 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,50 +16,57 @@
#
-Name: golang-github-kr-pretty
-Version:0.0.0+git20150520.e6ac2fc
+%global providergithub
+%global provider_tldcom
+%global project kr
+%global repopretty
+%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
+%global import_path %{provider_prefix}
+
+Name: golang-%{provider}-%{project}-%{repo}
+Version:0.0.0+git20160823.cfb55aa
Release:0
Summary:Pretty printing for Go values
License:MIT
-Group: Development/Languages/Other
-Url:https://github.com/kr/pretty
-Source: pretty-%{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: golang(github.com/kr/text)
BuildRequires: xz
-Provides: go-pretty.go = %{version}
-Obsoletes: go-pretty.go < %{version}
-Provides: go-pretty = %{version}
-Obsoletes: go-pretty < %{version}
+
+BuildRequires: golang(github.com/kr/text)
+Requires: golang(github.com/kr/text)
+
+%{go_nostrip}
%{go_provides}
%description
Package pretty provides pretty-printing for go values. This is useful during
-debugging, to avoid wrapping long output lines in the terminal.
-
-It provides a function, Formatter, that can be used with any function that
-accepts a format string.
-
-This package also provides a convenience wrapper for each function in package
-fmt that takes a format string.
+debugging, to avoid wrapping long output lines in the terminal. It provides a
+function, Formatter, that can be used with any function that accepts a format
+string. This package also provides a convenience wrapper for each function in
+package fmt that takes a format string.
%prep
-%setup -q -n pretty-%{version}
+%setup -q -n %{repo}-%{version}
%build
-%goprep github.com/kr/pretty
+%goprep %{import_path}
%gobuild ...
%install
%goinstall
+%gosrc
+%gofilelist
%check
-%gotest github.com/kr/pretty
+%gotest %{import_path}...
-%files
+%files -f file.lst
%defattr(-,root,root,-)
%doc Readme License
-%{go_contribdir}/*
%changelog
++ _service ++
--- /var/tmp/diff_new_pack.MtpF0I/_old 2017-03-24 02:15:50.097470246 +0100
+++ /var/tmp/diff_new_pack.MtpF0I/_new 2017-03-24 02:15:50.097470246 +0100
@@ -1,16 +1,17 @@
-
-https://github.com/kr/pretty.git
+
+https://github.com/kr/pretty
git
.git
0.0.0+git%cd.%h
master
+enable
-
+
pretty-*.tar
xz
-
+