From bd93325f2f40986f307b8a5a241bada2784adba5 Mon Sep 17 00:00:00 2001 From: Debarshi Ray Date: Thu, 11 Jan 2024 17:36:28 +0100 Subject: [PATCH] spec: Add missing GLib dependency when building without DNF GLib is required to build rhsmcertd(8). When building with DNF support, glib2-devel is pulled in by libdnf-devel. However, turning off DNF support doesn't disable building rhsmcertd(8). Therefore, the depedency needs to be listed explicitly. --- subscription-manager.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/subscription-manager.spec b/subscription-manager.spec index 637c4080df..222ee457a0 100644 --- a/subscription-manager.spec +++ b/subscription-manager.spec @@ -186,6 +186,7 @@ BuildRequires: openssl-devel BuildRequires: gcc BuildRequires: %{py_package_prefix}-setuptools BuildRequires: gettext +BuildRequires: glib2-devel %if 0%{?suse_version} BuildRequires: distribution-release