Accepting request 443057 from home:jordimassaguerpla:branch:d_l_g:fix_go_1_7_failures

OBS-URL: https://build.opensuse.org/request/show/443057
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/golang-github-cpuguy83-go-md2man?expand=0&rev=7
This commit is contained in:
Jordi Massaguer 2016-12-01 16:53:21 +00:00 committed by Git OBS Bridge
parent 877f16f43d
commit e24cc5832d
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