Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package virt-manager for openSUSE:Factory checked in at 2025-12-11 18:32:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/virt-manager (Old) and /work/SRC/openSUSE:Factory/.virt-manager.new.1939 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "virt-manager" Thu Dec 11 18:32:06 2025 rev:283 rq:1322218 version:5.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes 2025-11-09 21:07:30.774169532 +0100 +++ /work/SRC/openSUSE:Factory/.virt-manager.new.1939/virt-manager.changes 2025-12-11 18:32:26.935071893 +0100 @@ -1,0 +2,7 @@ +Tue Dec 9 11:48:43 UTC 2025 - Callum Farmer <[email protected]> + +- Add virtinst-fix-XDG_DATA_HOME-handling.patch: fix usage + of XDG_DATA_HOME (bsc#1253017) +- Use a more sensible XDG_DATA_HOME in test section + +------------------------------------------------------------------- New: ---- virtinst-fix-XDG_DATA_HOME-handling.patch ----------(New B)---------- New: - Add virtinst-fix-XDG_DATA_HOME-handling.patch: fix usage of XDG_DATA_HOME (bsc#1253017) ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ virt-manager.spec ++++++ --- /var/tmp/diff_new_pack.QFvZSt/_old 2025-12-11 18:32:28.423134444 +0100 +++ /var/tmp/diff_new_pack.QFvZSt/_new 2025-12-11 18:32:28.427134613 +0100 @@ -70,6 +70,7 @@ Patch225: virtinst-add-caasp-support.patch Patch226: virtinst-add-sle15-detection-support.patch Patch227: virtinst-media-detection.patch +Patch228: virtinst-fix-XDG_DATA_HOME-handling.patch # Bug Fixes Patch251: virtman-increase-setKeepAlive-count.patch Patch252: virtman-allow-destroy-from-shutdown-menu-of-crashed-vm.patch @@ -219,7 +220,7 @@ %if %{with test} %check # bsc#1253017: Set this for testCLI0181virt_install_kvm_session_defaults -export XDG_DATA_HOME="/tmp/.local/share/libvirt" +export XDG_DATA_HOME="/tmp/.local/share" # XML contains hda instead of hdc donttest="test_disk_numtotarget" # XML contains sd{a,b,c,d} instead of sda{a,b,c,d} ++++++ virtinst-fix-XDG_DATA_HOME-handling.patch ++++++ >From ae62028d96cecb055ff1fec9bb08c394eecb2333 Mon Sep 17 00:00:00 2001 From: Callum Farmer <[email protected]> Date: Wed, 19 Nov 2025 13:38:22 +0000 Subject: [PATCH] Fix XDG_DATA_HOME handling The default value of XDG_DATA_HOME should be ~/.local/share. It will not by default contain libvirt at the end of the path, so subsequently append libvirt after retrieving the value of XDG_DATA_HOME --- virtinst/connection.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/virtinst/connection.py b/virtinst/connection.py index f2fcdd0c36..b565f1b415 100644 --- a/virtinst/connection.py +++ b/virtinst/connection.py @@ -186,7 +186,8 @@ def open(self, authcb, cbdata): def get_libvirt_data_root_dir(self): if self.is_privileged(): return "/var/lib/libvirt" - return os.environ.get("XDG_DATA_HOME", os.path.expanduser("~/.local/share/libvirt")) + path = os.environ.get("XDG_DATA_HOME", os.path.expanduser("~/.local/share")) + return os.path.join(path, "libvirt") #################### # Polling routines #
