From e24cc5832d6c23943ac698e9f2854cd502ed9cfca2d12738f91a6894c233c803 Mon Sep 17 00:00:00 2001 From: Jordi Massaguer Date: Thu, 1 Dec 2016 16:53:21 +0000 Subject: [PATCH] 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 --- golang-github-cpuguy83-go-md2man.changes | 12 ++++++++++++ golang-github-cpuguy83-go-md2man.spec | 10 +++++++++- 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/golang-github-cpuguy83-go-md2man.changes b/golang-github-cpuguy83-go-md2man.changes index db9ff50..8e2f877 100644 --- a/golang-github-cpuguy83-go-md2man.changes +++ b/golang-github-cpuguy83-go-md2man.changes @@ -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 diff --git a/golang-github-cpuguy83-go-md2man.spec b/golang-github-cpuguy83-go-md2man.spec index 098d9a8..bf291ba 100644 --- a/golang-github-cpuguy83-go-md2man.spec +++ b/golang-github-cpuguy83-go-md2man.spec @@ -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