commit go-pretty for openSUSE:Factory
Hello community, here is the log from the commit of package go-pretty for openSUSE:Factory checked in at 2014-09-23 10:42:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/go-pretty (Old) and /work/SRC/openSUSE:Factory/.go-pretty.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "go-pretty" Changes: -------- --- /work/SRC/openSUSE:Factory/go-pretty/go-pretty.changes 2013-09-25 14:31:26.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.go-pretty.new/go-pretty.changes 2014-09-23 10:42:48.000000000 +0200 @@ -1,0 +2,5 @@ +Fri Sep 19 09:10:27 UTC 2014 - i@marguerite.su + +- update version 0.0.0+git20140812.f31442d + +------------------------------------------------------------------- Old: ---- pretty-0.0.0+git20111222.tar.bz2 New: ---- _service pretty-0.0.0+git20140812.f31442d.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ go-pretty.spec ++++++ --- /var/tmp/diff_new_pack.R9ExUR/_old 2014-09-23 10:42:49.000000000 +0200 +++ /var/tmp/diff_new_pack.R9ExUR/_new 2014-09-23 10:42:49.000000000 +0200 @@ -1,6 +1,7 @@ # -# spec file for package go-pretty-go +# spec file for package go-pretty # +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2011 Sascha Peilicke <saschpe@gmx.de> # # All modifications and additions to the file contributed by third parties @@ -17,66 +18,52 @@ Name: go-pretty -Version: 0.0.0+git20111222 +Version: 0.0.0+git20140812.f31442d Release: 0 Summary: Pretty printing for Go values -Group: Development/Languages/Other License: MIT -URL: https://github.com/kr/pretty.go +Group: Development/Languages/Other +Url: https://github.com/kr/pretty.go Source0: pretty-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: go-devel -Obsoletes: go-pretty.go go-pretty.go-devel -%if 0%{?suse_version} >= 1100 -Recommends: go-pretty-doc -%endif +BuildRequires: go-kr-text +Obsoletes: go-pretty.go +Obsoletes: go-pretty.go-devel +Requires: go-kr-text %{go_provides} %{go_requires} +%{go_recommends} %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. For example, - -type LongTypeName struct { - longFieldName, otherLongFieldName int -} -func TestFoo(t *testing.T) { - var x []LongTypeName{{1, 2}, {3, 4}, {5, 6}} - t.Errorf("%# v", Formatter(x)) -} +accepts a format string. This package also provides a convenience wrapper for each function in package fmt that takes a format string. -%package doc -Summary: API documenation -Group: Documentation/Other -Requires: %{name} = %{version} - -%description doc -API, examples and documentation. +%godoc_package %prep -%setup -q -n pretty +%setup -q -n pretty-%{version} %build %goprep github.com/kr/pretty %gobuild ... %install -%{go_disable_brp_strip_static_archive} - %goinstall %godoc -#%%gotest github.com/kr/pretty +%check +%gotest github.com/kr/pretty %files %defattr(-,root,root,-) -%doc Readme.md +%doc Readme License %{go_contribdir}/* %files doc ++++++ _service ++++++ <services> <service name="tar_scm" mode="disabled"> <param name="url">https://github.com/kr/pretty.git</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> </service> <service name="recompress" mode="disabled"> <param name="file">pretty-*.tar</param> <param name="compression">bz2</param> </service> <service name="set_version" mode="disabled"> <param name="basename">pretty</param> </service> </services> -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de