From 94271b429e56a864e5d23c37447f83d91c4f1371 Mon Sep 17 00:00:00 2001 From: Cole Robinson Date: Fri, 6 Dec 2024 12:43:29 -0500 Subject: [PATCH] spec: Skip dconf dep if building for flatpak Host dconf is apparently used in this case, and installing dconf inside the flatpak is not necessary https://src.fedoraproject.org/rpms/virt-manager/pull-request/4 Signed-off-by: Cole Robinson --- virt-manager.spec.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/virt-manager.spec.in b/virt-manager.spec.in index 0311fdbea..be56b153b 100644 --- a/virt-manager.spec.in +++ b/virt-manager.spec.in @@ -31,7 +31,12 @@ Requires: spice-gtk3 # Unfortunately nothing in our chain has an explicit dep on some kind # of usable gsettings backend, so we explicitly depend on dconf so that # user settings actually persist across app runs. +# +# That said, we skip this dep for flatpak, where dconf isn't used in +# the runtime. gsettings defaults to ini file in that case +%if ! 0%{?flatpak} Requires: dconf +%endif # The vte291 package is actually the latest vte with API version 2.91, while # the vte3 package is effectively a compat package with API version 2.90.