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 %bcond_without check
# https://github.com/cpuguy83/go-md2man # https://github.com/cpuguy83/go-md2man
@ -13,7 +13,7 @@ Version: 2.0.2
Converts markdown into roff (man pages).} Converts markdown into roff (man pages).}
%global golicenses LICENSE.md %global golicenses LICENSE.md
%global godocs go-md2man.1.md README.md %global godocs README.md go-md2man.1.md
Name: %{goname} Name: %{goname}
Release: %autorelease Release: %autorelease
@ -23,17 +23,18 @@ License: MIT
URL: %{gourl} URL: %{gourl}
Source0: %{gosource} Source0: %{gosource}
BuildRequires: golang(github.com/russross/blackfriday/v2)
Provides: go-md2man = %{version}-%{release} Provides: go-md2man = %{version}-%{release}
%description %description %{common_description}
%{common_description}
%gopkg %gopkg
%prep %prep
%goprep %goprep
%generate_buildrequires
%go_generate_buildrequires
%build %build
%gobuild -o %{gobuilddir}/bin/go-md2man %{goipath} %gobuild -o %{gobuilddir}/bin/go-md2man %{goipath}
%{gobuilddir}/bin/go-md2man -in go-md2man.1.md -out go-md2man.1 %{gobuilddir}/bin/go-md2man -in go-md2man.1.md -out go-md2man.1