Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-atspi for openSUSE:Factory 
checked in at 2021-09-29 20:18:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-atspi (Old)
 and      /work/SRC/openSUSE:Factory/.python-atspi.new.1899 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-atspi"

Wed Sep 29 20:18:11 2021 rev:67 rq:921942 version:2.38.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-atspi/python-atspi.changes        
2021-08-16 10:13:34.794956807 +0200
+++ /work/SRC/openSUSE:Factory/.python-atspi.new.1899/python-atspi.changes      
2021-09-29 20:18:59.754983288 +0200
@@ -1,0 +2,5 @@
+Mon Sep 27 21:45:41 UTC 2021 - Michael Gorse <mgo...@suse.com>
+
+- Add pyatspi-test-fixes.patch: fix tests on s390x (bsc#1190051).
+
+-------------------------------------------------------------------

New:
----
  pyatspi-test-fixes.patch

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

Other differences:
------------------
++++++ python-atspi.spec ++++++
--- /var/tmp/diff_new_pack.GcoA63/_old  2021-09-29 20:19:00.238984385 +0200
+++ /var/tmp/diff_new_pack.GcoA63/_new  2021-09-29 20:19:00.242984394 +0200
@@ -1,5 +1,5 @@
 #
-# spec file for package python-atspi
+# spec file
 #
 # Copyright (c) 2021 SUSE LLC
 #
@@ -41,6 +41,8 @@
 Group:          Development/Libraries/Python
 URL:            https://gitlab.gnome.org/GNOME/pyatspi2
 Source0:        
https://download.gnome.org/sources/pyatspi/2.38/%{_name}-%{version}.tar.xz
+# PATCH-FIX-UPSTREAM pyatspi-test-fixes.patch bsc#1190051 mgo...@suse.com -- 
testsuite fixes.
+Patch0:         pyatspi-test-fixes.patch
 BuildRequires:  %{python_module dbus-python}
 BuildRequires:  %{python_module gobject >= 2.90.1}
 BuildRequires:  %{python_module gobject-devel >= 2.90.1}
@@ -85,7 +87,7 @@
 This package contains the python bindings for AT-SPI.
 
 %prep
-%setup -q -n %{_name}-%{version}
+%autosetup -p1 -n %{_name}-%{version}
 
 %build
 # Configure for out-of-tree builds

++++++ pyatspi-test-fixes.patch ++++++
>From f2e40852cf29a781ef5682fd675cd3e15d69f277 Mon Sep 17 00:00:00 2001
From: Mike Gorse <mgo...@suse.com>
Date: Mon, 27 Sep 2021 16:41:40 -0500
Subject: [PATCH] Testsuite fixes

---
 tests/dummyatk/my-atk-hyperlink.h | 2 ++
 tests/dummyatk/my-atk-object.c    | 5 ++++-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/tests/dummyatk/my-atk-hyperlink.h 
b/tests/dummyatk/my-atk-hyperlink.h
index 35af13e..c07bc34 100644
--- a/tests/dummyatk/my-atk-hyperlink.h
+++ b/tests/dummyatk/my-atk-hyperlink.h
@@ -50,5 +50,7 @@ struct _MyAtkHyperlinkClass
     AtkHyperlinkClass parent;
 };
 
+MyAtkHyperlink* my_atk_hyperlink_new(gint start_index, gint end_index,const 
gchar* uri);
+
 GType my_atk_hyperlink_get_type();
 #endif /*MY_ATK_HYPERLINK_H*/
diff --git a/tests/dummyatk/my-atk-object.c b/tests/dummyatk/my-atk-object.c
index 2b69583..218cc9e 100644
--- a/tests/dummyatk/my-atk-object.c
+++ b/tests/dummyatk/my-atk-object.c
@@ -116,7 +116,8 @@ static AtkStateSet *my_atk_object_ref_state_set(AtkObject 
*accessible)
 
     if (obj->state_set == NULL)
         obj->state_set = atk_state_set_new();
-    return g_object_ref(G_OBJECT(obj->state_set));
+    g_object_ref(obj->state_set);
+    return obj->state_set;
 }
 
 static AtkAttributeSet *my_atk_object_get_attributes (AtkObject *accessible)
@@ -139,6 +140,8 @@ static AtkAttributeSet *my_atk_object_get_attributes 
(AtkObject *accessible)
     rs = g_slist_append(rs, (gpointer) a); 
     rs = g_slist_append(rs, (gpointer) b); 
     rs = g_slist_append(rs, (gpointer) c); 
+
+    return rs;
 }
 
 //function, needed in instance_finalize()
-- 
2.33.0

Reply via email to