From 2b5dbfbc2be526babdadd6223c18b46adde787ed Mon Sep 17 00:00:00 2001 From: Maxwell G Date: Thu, 7 Sep 2023 21:05:42 +0000 Subject: [PATCH] Add explicit dependency on forge-srpm-macros --- fonts-rpm-macros.spec | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/fonts-rpm-macros.spec b/fonts-rpm-macros.spec index e3cc01d..36b15bc 100644 --- a/fonts-rpm-macros.spec +++ b/fonts-rpm-macros.spec @@ -52,6 +52,12 @@ will pull it in for fonts packages only. %package -n fonts-srpm-macros Summary: Source-stage rpm automation for fonts packages Requires: redhat-rpm-config +# macros.forge and forge.lua were split into a separate package. +# redhat-rpm-config pulls in forge-srpm-macros but better to explicitly Require +# it. +%if (0%{?fedora} >= 40 || 0%{?rhel} >= 10) +Requires: forge-srpm-macros +%endif %description -n fonts-srpm-macros This package provides SRPM-stage rpm automation to simplify the creation of