57 lines
1.8 KiB
Diff
57 lines
1.8 KiB
Diff
|
From 9c2a1a6a36d748d059140bf6ee9113d5e9641477 Mon Sep 17 00:00:00 2001
|
||
|
From: Evan Goode <mail@evangoo.de>
|
||
|
Date: Tue, 28 Jan 2025 11:27:00 -0500
|
||
|
Subject: [PATCH 43/44] spec: Add dnf-bootc subpackage
|
||
|
MIME-Version: 1.0
|
||
|
Content-Type: text/plain; charset=UTF-8
|
||
|
Content-Transfer-Encoding: 8bit
|
||
|
|
||
|
Upstream commit: 76a0c339eb172b1b2a4b1aa8b4db8d6a5145916b
|
||
|
|
||
|
dnf-bootc's only job is to Require python3-gobject-base, ostree,
|
||
|
ostree-libs, and util-linux-core, which are needed to interact with
|
||
|
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.
|
||
|
|
||
|
Resolves: https://issues.redhat.com/browse/RHEL-70917
|
||
|
Signed-off-by: Petr Písař <ppisar@redhat.com>
|
||
|
---
|
||
|
dnf.spec | 14 ++++++++++++++
|
||
|
1 file changed, 14 insertions(+)
|
||
|
|
||
|
diff --git a/dnf.spec b/dnf.spec
|
||
|
index e9abd9041..b60f2692b 100644
|
||
|
--- a/dnf.spec
|
||
|
+++ b/dnf.spec
|
||
|
@@ -180,6 +180,17 @@ Requires: %{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: python3-%{name} = %{version}-%{release}
|
||
|
+Requires: ostree
|
||
|
+Requires: ostree-libs
|
||
|
+Requires: python3-gobject-base
|
||
|
+Requires: util-linux-core
|
||
|
+
|
||
|
+%description bootc
|
||
|
+Additional dependencies needed to perform transactions on booted bootc (bootable containers) systems.
|
||
|
+
|
||
|
|
||
|
%prep
|
||
|
%autosetup
|
||
|
@@ -358,6 +369,9 @@ popd
|
||
|
%{_unitdir}/%{name}-automatic-install.timer
|
||
|
%{python3_sitelib}/%{name}/automatic/
|
||
|
|
||
|
+%files bootc
|
||
|
+# bootc subpackage does not include any files
|
||
|
+
|
||
|
%changelog
|
||
|
* Fri Sep 09 2022 Jaroslav Rohel <jrohel@redhat.com> - 4.14.0-1
|
||
|
- doc: Describe how gpg keys are stored for `repo_ggpcheck` (RhBug:2020678)
|
||
|
--
|
||
|
2.48.1
|
||
|
|