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