diff --git a/golang-github-cpuguy83-md2man.spec b/golang-github-cpuguy83-md2man.spec index f4a51bf..c3c33ab 100644 --- a/golang-github-cpuguy83-md2man.spec +++ b/golang-github-cpuguy83-md2man.spec @@ -1,4 +1,4 @@ -# Generated by go2rpm 1.6.0 +# Generated by go2rpm 1.8.2 %bcond_without check # https://github.com/cpuguy83/go-md2man @@ -13,7 +13,7 @@ Version: 2.0.2 Converts markdown into roff (man pages).} %global golicenses LICENSE.md -%global godocs go-md2man.1.md README.md +%global godocs README.md go-md2man.1.md Name: %{goname} Release: %autorelease @@ -23,17 +23,18 @@ License: MIT URL: %{gourl} Source0: %{gosource} -BuildRequires: golang(github.com/russross/blackfriday/v2) Provides: go-md2man = %{version}-%{release} -%description -%{common_description} +%description %{common_description} %gopkg %prep %goprep +%generate_buildrequires +%go_generate_buildrequires + %build %gobuild -o %{gobuilddir}/bin/go-md2man %{goipath} %{gobuilddir}/bin/go-md2man -in go-md2man.1.md -out go-md2man.1