osbuild.spec: Add python3-dnf dependency for osbuild-tools

The recent change in https://github.com/osbuild/osbuild/pull/1896
removed the dnf dependency, leading to failures in osbuild-mpp with the
following error:

    ModuleNotFoundError: No module named 'dnf'

To fix it, add the python3-dnf dependency for the
osbuild-tools package.

Signed-off-by: Renata Ravanelli <rravanel@redhat.com>
This commit is contained in:
Renata Ravanelli 2024-10-21 15:41:49 -03:00 committed by Achilleas Koutsou
parent 4b4b5cea95
commit 9c69bf3423

View file

@ -120,6 +120,7 @@ containers it uses to build OS artifacts.
Summary: Extra tools and utilities
Requires: %{name} = %{version}-%{release}
Requires: python3-pyyaml
Requires: python3-dnf
# These are required for `osbuild-dev`, only packaged for Fedora
%if 0%{?fedora}