From 960b2f4ba02a005d0b8a2193934f7723a61e5860 Mon Sep 17 00:00:00 2001 From: Evan Goode Date: Tue, 28 Jan 2025 11:27:00 -0500 Subject: [PATCH] spec: Add dnf-bootc subpackage dnf-bootc's only job is to Require python3-gobject-base and ostree-libs, which are needed to check the unlock status on bootc systems. We don't want to add these dependencies on `python3-dnf` because we don't want them on non-bootc systems, so we use a subpackage. --- dnf.spec | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/dnf.spec b/dnf.spec index b986953510..5c2f937fb5 100644 --- a/dnf.spec +++ b/dnf.spec @@ -189,6 +189,14 @@ Requires: python3-%{name} = %{version}-%{release} %description automatic Systemd units that can periodically download package upgrades and apply them. +%package bootc +Summary: %{pkg_summary} - additional bootc dependencies +Requires: ostree-libs +Requires: python3-gobject-base + +%description bootc +Additional dependencies needed to perform transactions on booted bootc (bootable containers) systems. + %prep %autosetup @@ -419,6 +427,9 @@ popd %{python3_sitelib}/%{name}/automatic/ %endif +%files bootc +# bootc subpackage does not include any files + %changelog * Wed Aug 14 2024 Evan Goode - 4.21.1-1 - doc: minor formatting and consistency fixes