Skip to content

Commit

Permalink
spec: Add dnf-bootc subpackage
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
evan-goode committed Jan 31, 2025
1 parent 4304f2b commit 960b2f4
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions dnf.spec
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 <[email protected]> - 4.21.1-1
- doc: minor formatting and consistency fixes
Expand Down

0 comments on commit 960b2f4

Please sign in to comment.