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.
This commit is contained in:
parent
4304f2bf33
commit
960b2f4ba0
11
dnf.spec
11
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 <mail@evangoo.de> - 4.21.1-1
|
||||
- doc: minor formatting and consistency fixes
|
||||
|
|
Loading…
Reference in New Issue