1
0

Accepting request 354847 from home:MargueriteSu:branches:devel:languages:go

OBS-URL: https://build.opensuse.org/request/show/354847
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/golang-github-cpuguy83-go-md2man?expand=0&rev=5
This commit is contained in:
Marguerite Su 2016-01-20 04:04:45 +00:00 committed by Git OBS Bridge
parent 20d528593a
commit 877f16f43d
6 changed files with 35 additions and 29 deletions

View File

@ -1,16 +1,17 @@
<services>
<service name="tar_scm" mode="localonly">
<param name="url">http://github.com/cpuguy83/go-md2man</param>
<service name="tar_scm" mode="disabled">
<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.2+git%cd.%h</param>
<param name="versionformat">1.0.5+git%cd.%h</param>
<param name="revision">master</param>
<param name="changesgenerate">enable</param>
</service>
<service name="recompress" mode="localonly">
<service name="recompress" mode="disabled">
<param name="file">go-md2man-*.tar</param>
<param name="compression">xz</param>
</service>
<service name="set_version" mode="localonly">
<service name="set_version" mode="disabled">
<param name="basename">go-md2man</param>
</service>
</services>

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">2724a9c9051aa62e9cca11304e7dd518e9e41599</param></service></servicedata>

View File

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

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:96cb2c778072c25342735d239524f9feb62e11398a1fe966ddceb8e411ab7947
size 3328

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sun Jan 17 09:56:53 UTC 2016 - i@marguerite.su
- Update to version 1.0.5+git20160104.2724a9c:
+ md2man usable as a library (again)
+ Improve man page rendering
-------------------------------------------------------------------
Tue Jul 28 12:30:43 UTC 2015 - i@marguerite.su

View File

@ -1,7 +1,7 @@
#
# spec file for package golang-github-cpuguy83-go-md2man
#
# Copyright (c) 2015 SUSE LLC
# 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,47 +17,41 @@
Name: golang-github-cpuguy83-go-md2man
Version: 1.0.2+git20150617.e69ac41
Version: 1.0.5+git20160104.2724a9c
Release: 0
Summary: Convert markdown into man pages
License: MIT
Group: Development/Languages/Other
URL: https://github.com/cpuguy83/go-md2man
Group: Development/Languages/Golang
Url: https://github.com/cpuguy83/go-md2man
Source0: go-md2man-%{version}.tar.xz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: golang-packaging
BuildRequires: golang(golang.org/x/net)
BuildRequires: xz
BuildRequires: golang(github.com/russross/blackfriday)
Provides: go-go-md2man = %{version}
Obsoletes: go-go-md2man < %{version}
BuildRequires: golang(golang.org/x/net)
Provides: go-go-md2man = %{version}
Obsoletes: go-go-md2man < %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{go_provides}
%description
Tool to converts markdown into man pages
%gosrc_package
%prep
%setup -q -n go-md2man-%{version}
%build
%goprep github.com/cpuguy83/go-md2man
%gobuild ...
%{goprep} github.com/cpuguy83/go-md2man
%{gobuild} ...
%install
%goinstall
%gosrc
%{goinstall}
%{go_filelist}
%check
%gotest github.com/cpuguy83/go-md2man
%{gotest} github.com/cpuguy83/go-md2man
%files
%files -f file.lst
%defattr(-,root,root,-)
%doc README.md LICENSE.md
%{_bindir}/go-md2man
%files source
%defattr(-,root,root,-)
%{go_contribsrcdir}/*
%changelog