From 50e0637efd4c045e2a4ce3597bc322ffe8e670a3 Mon Sep 17 00:00:00 2001 From: Cole Robinson Date: Mon, 5 Aug 2024 14:53:08 -0400 Subject: [PATCH] Add comment about why we skip dconf for flatpak builds Signed-off-by: Cole Robinson --- virt-manager.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/virt-manager.spec b/virt-manager.spec index 458029d..e567284 100644 --- a/virt-manager.spec +++ b/virt-manager.spec @@ -32,13 +32,16 @@ Requires: spice-gtk3 # We can work with gtksourceview 3 or gtksourceview4, pick the latest one Requires: gtksourceview4 -%if ! 0%{?flatpak} # virt-manager is one of those apps that people will often install onto # a headless machine for use over SSH. This means the virt-manager dep # chain needs to provide everything we need to get a usable app experience. # 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