From 9c69bf3423d861aedf73db305cb46ae0322a9440 Mon Sep 17 00:00:00 2001 From: Renata Ravanelli Date: Mon, 21 Oct 2024 15:41:49 -0300 Subject: [PATCH] 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 --- osbuild.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/osbuild.spec b/osbuild.spec index ccbc94a7..539bf204 100644 --- a/osbuild.spec +++ b/osbuild.spec @@ -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}