SPEC cleanup

This commit is contained in:
Robert-André Mauchin 2022-11-12 15:54:42 +01:00
parent 2183176b59
commit d0ec2d1669

View File

@ -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