Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gnucash for openSUSE:Factory checked 
in at 2025-11-27 15:20:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gnucash (Old)
 and      /work/SRC/openSUSE:Factory/.gnucash.new.14147 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gnucash"

Thu Nov 27 15:20:09 2025 rev:117 rq:1320235 version:5.13

Changes:
--------
--- /work/SRC/openSUSE:Factory/gnucash/gnucash.changes  2025-10-27 
14:43:17.435633460 +0100
+++ /work/SRC/openSUSE:Factory/.gnucash.new.14147/gnucash.changes       
2025-11-27 15:20:17.557770216 +0100
@@ -1,0 +2,5 @@
+Thu Nov 20 22:41:24 UTC 2025 - Jaime Marquínez Ferrándiz 
<[email protected]>
+
+- Add gnucash-fix-test-userdata-dir-invalid-home.patch
+
+-------------------------------------------------------------------

New:
----
  gnucash-fix-test-userdata-dir-invalid-home.patch

----------(New B)----------
  New:
- Add gnucash-fix-test-userdata-dir-invalid-home.patch
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gnucash.spec ++++++
--- /var/tmp/diff_new_pack.mCGJJN/_old  2025-11-27 15:20:18.497809857 +0100
+++ /var/tmp/diff_new_pack.mCGJJN/_new  2025-11-27 15:20:18.501810026 +0100
@@ -49,6 +49,8 @@
 Patch1:         gnucash-libm.patch
 Patch2:         gnucash-4.1-fix-gtest-path.patch
 Patch3:         gnucash-boost-1.89.patch
+# PATCH-FIX-UPSTREAM gh#gnucash/gnucash#2152 -- 
test-userdata-dir-invalid-home: Unset XDG_DATA_HOME
+Patch4:         gnucash-fix-test-userdata-dir-invalid-home.patch
 
 BuildRequires:  cmake >= 3.14
 BuildRequires:  doxygen

++++++ gnucash-fix-test-userdata-dir-invalid-home.patch ++++++
>From d1b30fcea09687dcf79a827945b5e007accdb884 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jaime=20Marqui=CC=81nez=20Ferra=CC=81ndiz?=
 <[email protected]>
Date: Thu, 20 Nov 2025 23:32:59 +0100
Subject: [PATCH] test-userdata-dir-invalid-home: Unset XDG_DATA_HOME

---
 libgnucash/core-utils/test/test-userdata-dir-invalid-home.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/libgnucash/core-utils/test/test-userdata-dir-invalid-home.c 
b/libgnucash/core-utils/test/test-userdata-dir-invalid-home.c
index 449a4b1c24..5b48ced269 100644
--- a/libgnucash/core-utils/test/test-userdata-dir-invalid-home.c
+++ b/libgnucash/core-utils/test/test-userdata-dir-invalid-home.c
@@ -85,6 +85,10 @@ main(G_GNUC_UNUSED int argc, G_GNUC_UNUSED char **argv)
      * directory in that case. */
     g_setenv("HOME", homedir, TRUE);
     g_setenv("GNC_DATA_HOME", testdatahome, TRUE);
+    /* On some test environments XDG_DATA_HOME may be configured with a path
+     * that actually exists, so we unset it to actually get the temporary
+     * directory */
+    g_setenv("XDG_DATA_HOME", "", TRUE);
     g_free (homedir);
     g_free (testdatahome);
 
-- 
2.51.1

Reply via email to