Accepting request 457636 from home:tboerger:branches:devel:languages:go
OBS-URL: https://build.opensuse.org/request/show/457636 OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/golang-github-cpuguy83-go-md2man?expand=0&rev=9
This commit is contained in:
parent
e24cc5832d
commit
7cbd0cf05a
4
_service
4
_service
@ -3,8 +3,8 @@
|
|||||||
<param name="url">https://github.com/cpuguy83/go-md2man</param>
|
<param name="url">https://github.com/cpuguy83/go-md2man</param>
|
||||||
<param name="scm">git</param>
|
<param name="scm">git</param>
|
||||||
<param name="exclude">.git</param>
|
<param name="exclude">.git</param>
|
||||||
<param name="versionformat">1.0.5+git%cd.%h</param>
|
<param name="versionformat">1.0.6+git%cd.%h</param>
|
||||||
<param name="revision">master</param>
|
<param name="revision">v1.0.6</param>
|
||||||
<param name="changesgenerate">enable</param>
|
<param name="changesgenerate">enable</param>
|
||||||
</service>
|
</service>
|
||||||
<service name="recompress" mode="disabled">
|
<service name="recompress" mode="disabled">
|
||||||
|
@ -1,4 +0,0 @@
|
|||||||
<servicedata>
|
|
||||||
<service name="tar_scm">
|
|
||||||
<param name="url">https://github.com/cpuguy83/go-md2man</param>
|
|
||||||
<param name="changesrevision">2724a9c9051aa62e9cca11304e7dd518e9e41599</param></service></servicedata>
|
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:96cb2c778072c25342735d239524f9feb62e11398a1fe966ddceb8e411ab7947
|
|
||||||
size 3328
|
|
3
go-md2man-1.0.6+git20160904.a65d4d2.tar.xz
Normal file
3
go-md2man-1.0.6+git20160904.a65d4d2.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:6c5216c64e3325da616ca5009184c92def398a4fa12811c1eec54be6fa787ef9
|
||||||
|
size 34148
|
@ -1,7 +1,46 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Dec 07 15:16:49 UTC 2016 - tboerger@suse.com
|
||||||
|
|
||||||
|
- Update to version 1.0.6+git20160904.a65d4d2:
|
||||||
|
* Render raw html as is
|
||||||
|
* Add html entity output support
|
||||||
|
* fix escaping for curly braces
|
||||||
|
* fix wrong type for Entity func
|
||||||
|
* md2man usable as a library (again)
|
||||||
|
* Improve man page rendering
|
||||||
|
* use stdio for default input and output
|
||||||
|
* improve link
|
||||||
|
* add vendor
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Dec 2 09:13:23 UTC 2016 - tboerger@suse.com
|
||||||
|
|
||||||
|
- Recursively test all packages
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Dec 2 09:13:23 UTC 2016 - tboerger@suse.com
|
||||||
|
|
||||||
|
- Added rpmlintrc for common golang linting
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Dec 2 09:13:23 UTC 2016 - tboerger@suse.com
|
||||||
|
|
||||||
|
- Requires and BuildRequires for dependencies
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Dec 2 09:13:23 UTC 2016 - tboerger@suse.com
|
||||||
|
|
||||||
|
- Using the new golang-packaging now
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Dec 2 09:13:23 UTC 2016 - tboerger@suse.com
|
||||||
|
|
||||||
|
- Refactoed spec with a new unified layout
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Dec 1 16:15:35 UTC 2016 - jmassaguerpla@suse.com
|
Thu Dec 1 16:15:35 UTC 2016 - jmassaguerpla@suse.com
|
||||||
|
|
||||||
- add golang-github-shurcool-sanitized_anchor_name-source dependency
|
- add golang-github-shurcool-sanitized_anchor_name-source dependency
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Dec 1 16:08:40 UTC 2016 - jmassaguerpla@suse.com
|
Thu Dec 1 16:08:40 UTC 2016 - jmassaguerpla@suse.com
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package golang-github-cpuguy83-go-md2man
|
# spec file for package golang
|
||||||
#
|
#
|
||||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
@ -16,50 +16,67 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: golang-github-cpuguy83-go-md2man
|
%global provider github
|
||||||
Version: 1.0.5+git20160104.2724a9c
|
%global provider_tld com
|
||||||
|
%global project cpuguy83
|
||||||
|
%global repo go-md2man
|
||||||
|
%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
|
||||||
|
%global import_path %{provider_prefix}
|
||||||
|
|
||||||
|
Name: golang-%{provider}-%{project}-%{repo}
|
||||||
|
Version: 1.0.6+git20160904.a65d4d2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Convert markdown into man pages
|
Summary: Convert markdown into man pages
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Golang
|
Group: Development/Languages/Golang
|
||||||
Url: https://github.com/cpuguy83/go-md2man
|
Url: https://%{provider_prefix}
|
||||||
Source0: go-md2man-%{version}.tar.xz
|
Source0: %{repo}-%{version}.tar.xz
|
||||||
BuildRequires: golang-github-russross-blackfriday-source
|
Source1: rpmlintrc
|
||||||
BuildRequires: golang-github-shurcool-sanitized_anchor_name-source
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
BuildRequires: golang-packaging
|
BuildRequires: golang-packaging
|
||||||
BuildRequires: xz
|
BuildRequires: xz
|
||||||
BuildRequires: golang(golang.org/x/net)
|
|
||||||
Provides: go-go-md2man = %{version}
|
BuildRequires: golang(github.com/russross/blackfriday)
|
||||||
Obsoletes: go-go-md2man < %{version}
|
Requires: golang(github.com/russross/blackfriday)
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
|
%{go_nostrip}
|
||||||
%{go_provides}
|
%{go_provides}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Tool to converts markdown into man pages
|
Tool to converts markdown into man pages.
|
||||||
|
|
||||||
%gosrc_package
|
%package -n go-md2man
|
||||||
|
Summary: Tool to converts markdown into man pages
|
||||||
|
Group: Development/Languages/Golang
|
||||||
|
AutoReqProv: Off
|
||||||
|
|
||||||
|
%{go_exclusivearch}
|
||||||
|
|
||||||
|
%description -n go-md2man
|
||||||
|
Tool to converts markdown into man pages.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n go-md2man-%{version}
|
%setup -q -n %{repo}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{goprep} github.com/cpuguy83/go-md2man
|
%goprep %{import_path}
|
||||||
%{gobuild} ...
|
%gobuild ...
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%{goinstall}
|
%goinstall
|
||||||
%{gosrc}
|
%gosrc
|
||||||
%{go_filelist}
|
%gofilelist
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{gotest} github.com/cpuguy83/go-md2man
|
%gotest %{import_path}...
|
||||||
|
|
||||||
%files -f file.lst
|
%files -f file.lst
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc README.md LICENSE.md
|
%doc README.md LICENSE.md
|
||||||
|
|
||||||
%files source
|
%files -n go-md2man
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root)
|
||||||
%{go_contribsrcdir}/*
|
%{_bindir}/go-md2man
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
8
rpmlintrc
Normal file
8
rpmlintrc
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
# 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")
|
Loading…
Reference in New Issue
Block a user