From 7525c0fac143936d1b32b025154c23ee1daefa62 Mon Sep 17 00:00:00 2001 From: Debarshi Ray Date: Fri, 14 Feb 2025 17:20:32 +0100 Subject: [PATCH] spec: Require the base package with architecture-specific dependencies This is an architecture-specific package (ie., not noarch). According to the Fedora packaging guidelines [1], when a subpackage requires an architecture-specific base package, it MUST do so using a fully versioned archicture-specific dependency. [1] https://docs.fedoraproject.org/en-US/packaging-guidelines/ --- subscription-manager.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/subscription-manager.spec b/subscription-manager.spec index 8caa97070..1a06b3119 100644 --- a/subscription-manager.spec +++ b/subscription-manager.spec @@ -232,7 +232,7 @@ platform. %if %{use_container_plugin} %package -n subscription-manager-plugin-container Summary: A plugin for handling container content -Requires: %{name} = %{version}-%{release} +Requires: %{name}%{?_isa} = %{version}-%{release} %description -n subscription-manager-plugin-container Enables handling of content of type 'containerImage' in any certificates @@ -304,7 +304,7 @@ Summary: A plugin for handling OSTree content. Requires: %{py_package_prefix}-gobject-base # plugin needs a slightly newer version of python-iniparse for 'tidy' Requires: %{py_package_prefix}-iniparse >= 0.4 -Requires: %{name} = %{version}-%{release} +Requires: %{name}%{?_isa} = %{version}-%{release} %description -n subscription-manager-plugin-ostree Enables handling of content of type 'ostree' in any certificates