From d0ec2d1669340f6eb117f62712c6c4777045f3db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert-Andr=C3=A9=20Mauchin?= Date: Sat, 12 Nov 2022 15:54:42 +0100 Subject: [PATCH] SPEC cleanup --- golang-github-cpuguy83-md2man.spec | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) 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