1
0

Accepting request 443161 from devel:languages:go

fix for openSUSE_Factory
This goes with sr#443064 and sr#443160

OBS-URL: https://build.opensuse.org/request/show/443161
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/golang-github-cpuguy83-go-md2man?expand=0&rev=3
This commit is contained in:
Dominique Leuenberger 2016-12-03 17:27:27 +00:00 committed by Git OBS Bridge
commit 488684e859
2 changed files with 21 additions and 1 deletions

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Thu Dec 1 16:15:35 UTC 2016 - jmassaguerpla@suse.com
- add golang-github-shurcool-sanitized_anchor_name-source dependency
-------------------------------------------------------------------
Thu Dec 1 16:08:40 UTC 2016 - jmassaguerpla@suse.com
- add the generation of the source package. With go1.7 we need
the source in order to build other golang-* which depend on this
one.
-------------------------------------------------------------------
Sun Jan 17 09:56:53 UTC 2016 - i@marguerite.su

View File

@ -24,9 +24,10 @@ License: MIT
Group: Development/Languages/Golang
Url: https://github.com/cpuguy83/go-md2man
Source0: go-md2man-%{version}.tar.xz
BuildRequires: golang-github-russross-blackfriday-source
BuildRequires: golang-github-shurcool-sanitized_anchor_name-source
BuildRequires: golang-packaging
BuildRequires: xz
BuildRequires: golang(github.com/russross/blackfriday)
BuildRequires: golang(golang.org/x/net)
Provides: go-go-md2man = %{version}
Obsoletes: go-go-md2man < %{version}
@ -36,6 +37,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Tool to converts markdown into man pages
%gosrc_package
%prep
%setup -q -n go-md2man-%{version}
@ -45,6 +48,7 @@ Tool to converts markdown into man pages
%install
%{goinstall}
%{gosrc}
%{go_filelist}
%check
@ -54,4 +58,8 @@ Tool to converts markdown into man pages
%defattr(-,root,root,-)
%doc README.md LICENSE.md
%files source
%defattr(-,root,root,-)
%{go_contribsrcdir}/*
%changelog