From 840b69c98e570bc9416e924daaff7b36b0bb12b71c8212571fc45a34e5ecb3ea Mon Sep 17 00:00:00 2001 From: Marguerite Su Date: Tue, 28 Jul 2015 15:14:49 +0000 Subject: [PATCH] Accepting request 319148 from home:MargueriteSu:branches:devel:languages:go OBS-URL: https://build.opensuse.org/request/show/319148 OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/golang-github-cpuguy83-go-md2man?expand=0&rev=2 --- _service | 16 ++++++++ go-md2man-1.0.2+git20150617.e69ac41.tar.xz | 3 ++ golang-github-cpuguy83-go-md2man.changes | 7 ++++ golang-github-cpuguy83-go-md2man.spec | 43 ++++++++-------------- v1.0.2.tar.gz | 3 -- 5 files changed, 41 insertions(+), 31 deletions(-) create mode 100644 _service create mode 100644 go-md2man-1.0.2+git20150617.e69ac41.tar.xz delete mode 100644 v1.0.2.tar.gz diff --git a/_service b/_service new file mode 100644 index 0000000..a6b9a16 --- /dev/null +++ b/_service @@ -0,0 +1,16 @@ + + + http://github.com/cpuguy83/go-md2man + git + .git + 1.0.2+git%cd.%h + master + + + go-md2man-*.tar + xz + + + go-md2man + + diff --git a/go-md2man-1.0.2+git20150617.e69ac41.tar.xz b/go-md2man-1.0.2+git20150617.e69ac41.tar.xz new file mode 100644 index 0000000..392a413 --- /dev/null +++ b/go-md2man-1.0.2+git20150617.e69ac41.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:aa89ae1e72678be8d650512f166100822df258fb9275c7630bc3fbf67cf3852f +size 3128 diff --git a/golang-github-cpuguy83-go-md2man.changes b/golang-github-cpuguy83-go-md2man.changes index 51c7efb..86fdcbd 100644 --- a/golang-github-cpuguy83-go-md2man.changes +++ b/golang-github-cpuguy83-go-md2man.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Jul 28 12:30:43 UTC 2015 - i@marguerite.su + +- rename to golang-github-cpuguy83-md2man +- update version 1.0.2+git20150617.e69ac41 +- use golang-packaging for packaging + ------------------------------------------------------------------- Wed May 27 09:06:10 UTC 2015 - dmacvicar@suse.de diff --git a/golang-github-cpuguy83-go-md2man.spec b/golang-github-cpuguy83-go-md2man.spec index f3d3855..5ff372e 100644 --- a/golang-github-cpuguy83-go-md2man.spec +++ b/golang-github-cpuguy83-go-md2man.spec @@ -15,60 +15,47 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -%global provider github -%global provider_tld com -%global project cpuguy83 -%global repo go-md2man -%global import_path %{provider}.%{provider_tld}/%{project}/%{repo} Name: golang-github-cpuguy83-go-md2man -Version: 1.0.2 +Version: 1.0.2+git20150617.e69ac41 Release: 0 Summary: Convert markdown into man pages License: MIT Group: Development/Languages/Other -URL: https://%{import_path} -Source0: https://%{import_path}/archive/v%{version}.tar.gz +URL: https://github.com/cpuguy83/go-md2man +Source0: go-md2man-%{version}.tar.xz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: golang-packaging -BuildRequires: golang-org-x-net -BuildRequires: golang-github-russross-blackfriday -Provides: golang(%{import_path}) = %{version}-%{release} -Provides: golang(%{import_path}/mangen) = %{version}-%{release} -Provides: go-go-md2man = %{version} -Obsoletes: go-go-md2man <= %{version} +BuildRequires: golang(github.com/russross/blackfriday) +Provides: go-go-md2man = %{version} +Obsoletes: go-go-md2man < %{version} %{go_provides} %description Tool to converts markdown into man pages -%package doc -Summary: API documenation -Group: Documentation/Other -Requires: %{name} = %{version} - -%description doc -API, examples and documentation. +%gosrc_package %prep -%setup -q -n %{repo}-%{version} +%setup -q -n go-md2man-%{version} %build -%goprep %{import_path} +%goprep github.com/cpuguy83/go-md2man %gobuild ... %install %goinstall -%godoc -%gotest %{import_path} +%gosrc + +%check +%gotest github.com/cpuguy83/go-md2man %files %defattr(-,root,root,-) -%{_bindir}/go-md2man %doc README.md -%{go_contribdir}/* +%{_bindir}/go-md2man -%files doc +%files source %defattr(-,root,root,-) %{go_contribsrcdir}/* diff --git a/v1.0.2.tar.gz b/v1.0.2.tar.gz deleted file mode 100644 index d9e0680..0000000 --- a/v1.0.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:bbb936fbaba460200d0fe97181ba5a64c511d8aa9a647f76587f283a8cc6398f -size 3326