From 0329ca33cccae7501fad9d19bdf1178d34b0369a Mon Sep 17 00:00:00 2001 From: Debarshi Ray Date: Tue, 17 May 2022 18:18:33 +0200 Subject: [PATCH] Revert back to referring to go-md2man as go-md2man The 'go-md2man' virtual Provides was briefly lost after the golang-github-cpuguy83-go-md2man package was renamed to golang-github-cpuguy83-md2man. The virtual Provides has since been restored [1], and go-md2man is being used as a standalone binary tool, not as a Go package that's imported into Toolbx's source code. Hence, it makes sense to refer to the tool as go-md2man, and not by it's import path. This reverts commit 701836afcad6f0b08d8430e0914103d0871e4cdc. There's no need to do a build just for this. [1] golang-github-cpuguy83-md2man commit c085b15e5acd8d07 https://src.fedoraproject.org/rpms/golang-github-cpuguy83-md2man/c/c085b15e5acd8d07 --- toolbox.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toolbox.spec b/toolbox.spec index c6147df..851a239 100644 --- a/toolbox.spec +++ b/toolbox.spec @@ -20,8 +20,8 @@ Patch102: toolbox-Make-the-build-flags-match-Fedora-s-gobuild-for-PPC64.pat Patch103: toolbox-cmd-root-Work-around-Cobra-1.1.2-s-handling-of-usage.patch BuildRequires: ShellCheck +BuildRequires: go-md2man BuildRequires: golang >= 1.13 -BuildRequires: golang-github-cpuguy83-md2man BuildRequires: golang(github.com/HarryMichal/go-version) BuildRequires: golang(github.com/acobaugh/osrelease) BuildRequires: golang(github.com/briandowns/spinner) >= 1.10.0