From 52665f3d893f467f768e43244920c1fdf2f24dc795ce47bb9b5243c8a9d2f016 Mon Sep 17 00:00:00 2001 From: Jeff Kowalczyk Date: Wed, 5 Feb 2020 20:10:55 +0000 Subject: [PATCH] Accepting request 770234 from home:glaubitz:branches:devel:languages:go - Update to version 2.0.0+git20190314.f79a8a8: * Psych, we only support go.11 and higher * Update readme * Use go modules and set import paths to /v2 * Improvements to makefile * Use TRAVIS_GO_VERSION env var instead of matrix * Use golangci-lint * Update travis config for go versions * Don't run vendor validation in CI * Fix the example and typo * Fix links processing for v2 * RenderNode: fix error printing * Fix table parsing/processing for v2 * Fix list in list embedding * Update md2man to use blackfriday v2 API * Update vendoring to blackfriday v2 API * remove older versions of go from travis config * fix validate vendor script * More linters * Add errcheck to metalinter * Fix linting issues * set vendor check to executable * Add travis config * remove used processFooterText * Fix falal -> fatalf * Add TitleBlock test * gofmt roff.go * Update README details * Improve rendering of nested lists * dep ensure -upgrade to get v1.5 of blackfriday OBS-URL: https://build.opensuse.org/request/show/770234 OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/golang-github-cpuguy83-go-md2man?expand=0&rev=16 --- _service | 4 +- _servicedata | 4 ++ go-md2man-1.0.6+git20160904.a65d4d2.tar.xz | 3 -- go-md2man-2.0.0+git20190314.f79a8a8.tar.xz | 3 ++ golang-github-cpuguy83-go-md2man.changes | 56 ++++++++++++++++++++++ golang-github-cpuguy83-go-md2man.spec | 19 ++++---- 6 files changed, 74 insertions(+), 15 deletions(-) create mode 100644 _servicedata delete mode 100644 go-md2man-1.0.6+git20160904.a65d4d2.tar.xz create mode 100644 go-md2man-2.0.0+git20190314.f79a8a8.tar.xz diff --git a/_service b/_service index 4984800..c1f020f 100644 --- a/_service +++ b/_service @@ -3,8 +3,8 @@ https://github.com/cpuguy83/go-md2man git .git - 1.0.6+git%cd.%h - v1.0.6 + 2.0.0+git%cd.%h + v2.0.0 enable diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..dbd7942 --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://github.com/cpuguy83/go-md2man + f79a8a8ca69da163eee19ab442bedad7a35bba5a \ No newline at end of file diff --git a/go-md2man-1.0.6+git20160904.a65d4d2.tar.xz b/go-md2man-1.0.6+git20160904.a65d4d2.tar.xz deleted file mode 100644 index cb9de8e..0000000 --- a/go-md2man-1.0.6+git20160904.a65d4d2.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6c5216c64e3325da616ca5009184c92def398a4fa12811c1eec54be6fa787ef9 -size 34148 diff --git a/go-md2man-2.0.0+git20190314.f79a8a8.tar.xz b/go-md2man-2.0.0+git20190314.f79a8a8.tar.xz new file mode 100644 index 0000000..7353a0b --- /dev/null +++ b/go-md2man-2.0.0+git20190314.f79a8a8.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5bf5de23abd56c68af56e2d7020af2726fd202a761f7af94a43355a02dfa04b0 +size 44300 diff --git a/golang-github-cpuguy83-go-md2man.changes b/golang-github-cpuguy83-go-md2man.changes index 4ca9b4d..8c738b5 100644 --- a/golang-github-cpuguy83-go-md2man.changes +++ b/golang-github-cpuguy83-go-md2man.changes @@ -1,3 +1,59 @@ +------------------------------------------------------------------- +Wed Feb 5 11:53:22 UTC 2020 - John Paul Adrian Glaubitz + +- Update to version 2.0.0+git20190314.f79a8a8: + * Psych, we only support go.11 and higher + * Update readme + * Use go modules and set import paths to /v2 + * Improvements to makefile + * Use TRAVIS_GO_VERSION env var instead of matrix + * Use golangci-lint + * Update travis config for go versions + * Don't run vendor validation in CI + * Fix the example and typo + * Fix links processing for v2 + * RenderNode: fix error printing + * Fix table parsing/processing for v2 + * Fix list in list embedding + * Update md2man to use blackfriday v2 API + * Update vendoring to blackfriday v2 API + * remove older versions of go from travis config + * fix validate vendor script + * More linters + * Add errcheck to metalinter + * Fix linting issues + * set vendor check to executable + * Add travis config + * remove used processFooterText + * Fix falal -> fatalf + * Add TitleBlock test + * gofmt roff.go + * Update README details + * Improve rendering of nested lists + * dep ensure -upgrade to get v1.5 of blackfriday + * converts project to use dep + * Add some initial unit tests + * Fix some table rendering issues for empty cells + * Don't use CMD in Dockerfile + * Add dockerfile + * Fix tables displaying using tbl specification +- from version 1.0.10 + * Bumps blackfriday to 1.5.2 + * Some tidying up of CI, Makefile enhancements. +- from version 1.0.9 + * Use go modules instead of go dep + + Everything is still vendored so build scripts should not fail +- from version 1.0.8 + * Improve testing + * Improve rendering of nested lists - #30 @msimacek +- from version 1.0.7 + * Switch vendor tool to dep #29 + * Update blackfriday vendoring to v1.5 #29 +- Update _service file +- Move LICENSE to %license section +- Invoke %gobuild with -mod=vendor "" to disable network access +- Remove s390x from ExcludeArch + ------------------------------------------------------------------- Wed Jun 13 15:17:54 UTC 2018 - jmassaguerpla@suse.com diff --git a/golang-github-cpuguy83-go-md2man.spec b/golang-github-cpuguy83-go-md2man.spec index fd9a13f..3f08d59 100644 --- a/golang-github-cpuguy83-go-md2man.spec +++ b/golang-github-cpuguy83-go-md2man.spec @@ -1,7 +1,7 @@ # -# spec file for package golang +# spec file for package golang-github-cpuguy83-go-md2man # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -24,12 +24,12 @@ %global import_path %{provider_prefix} Name: golang-%{provider}-%{project}-%{repo} -Version: 1.0.6+git20160904.a65d4d2 +Version: 2.0.0+git20190314.f79a8a8 Release: 0 Summary: Convert markdown into man pages License: MIT Group: Development/Languages/Golang -Url: https://%{provider_prefix} +URL: https://%{provider_prefix} Source0: %{repo}-%{version}.tar.xz Source1: rpmlintrc BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -37,8 +37,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: golang-packaging BuildRequires: xz -ExcludeArch: s390 - %{go_nostrip} %{go_provides} @@ -61,7 +59,7 @@ Tool to converts markdown into man pages. %build %goprep %{import_path} -%gobuild ... +%gobuild --mod=vendor "" ... %install %goinstall @@ -69,11 +67,12 @@ Tool to converts markdown into man pages. %gofilelist %check -%gotest %{import_path}... +%gotest --mod=vendor "" ... %files -f file.lst %defattr(-,root,root,-) -%doc README.md LICENSE.md +%doc README.md +%license LICENSE.md %files -n go-md2man %defattr(-,root,root)