Accepting request 770395 from 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 (forwarded request 770234 from glaubitz)

OBS-URL: https://build.opensuse.org/request/show/770395
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/golang-github-cpuguy83-go-md2man?expand=0&rev=7
This commit is contained in:
Oliver Kurz 2020-02-14 15:26:42 +00:00 committed by Git OBS Bridge
commit 567ba60e3d
6 changed files with 74 additions and 15 deletions

View File

@ -3,8 +3,8 @@
<param name="url">https://github.com/cpuguy83/go-md2man</param>
<param name="scm">git</param>
<param name="exclude">.git</param>
<param name="versionformat">1.0.6+git%cd.%h</param>
<param name="revision">v1.0.6</param>
<param name="versionformat">2.0.0+git%cd.%h</param>
<param name="revision">v2.0.0</param>
<param name="changesgenerate">enable</param>
</service>
<service name="recompress" mode="disabled">

4
_servicedata Normal file
View File

@ -0,0 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/cpuguy83/go-md2man</param>
<param name="changesrevision">f79a8a8ca69da163eee19ab442bedad7a35bba5a</param></service></servicedata>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6c5216c64e3325da616ca5009184c92def398a4fa12811c1eec54be6fa787ef9
size 34148

BIN
go-md2man-2.0.0+git20190314.f79a8a8.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,59 @@
-------------------------------------------------------------------
Wed Feb 5 11:53:22 UTC 2020 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- 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

View File

@ -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)