From ac29f66df485d986c7e7c744b32857065221f441 Mon Sep 17 00:00:00 2001 From: Lokesh Mandvekar Date: Wed, 9 Mar 2022 14:41:40 -0500 Subject: [PATCH] go-rpm-macros not defined for rhel8 Signed-off-by: Lokesh Mandvekar --- podman.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/podman.spec b/podman.spec index 6847607..89ed86f 100644 --- a/podman.spec +++ b/podman.spec @@ -57,7 +57,9 @@ BuildRequires: glibc-devel BuildRequires: glibc-static BuildRequires: git-core BuildRequires: go-md2man +%if ! 0%{?rhel} <= 8 BuildRequires: go-rpm-macros +%endif BuildRequires: gpgme-devel BuildRequires: libassuan-devel BuildRequires: libgpg-error-devel