From 75a634266322c0e78fdb24cedc3ce720b9e7b52b Mon Sep 17 00:00:00 2001 From: Lokesh Mandvekar Date: Thu, 3 Feb 2022 10:52:32 -0500 Subject: [PATCH] handle md2man dep for c9s Signed-off-by: Lokesh Mandvekar --- containers-common.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/containers-common.spec b/containers-common.spec index 942c044..50aa8fa 100644 --- a/containers-common.spec +++ b/containers-common.spec @@ -20,7 +20,11 @@ Release: %autorelease Summary: Common configuration and documentation for containers License: ASL 2.0 BuildArch: noarch +%if 0%{?fedora} BuildRequires: go-md2man +%else +BuildRequires: golang-github-cpuguy83-md2man +%endif Provides: skopeo-containers = %{epoch}:%{version}-%{release} Requires: (container-selinux >= 2:2.162.1 if selinux-policy) Requires: oci-runtime