Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package lutris for openSUSE:Factory checked 
in at 2023-05-02 16:18:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/lutris (Old)
 and      /work/SRC/openSUSE:Factory/.lutris.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "lutris"

Tue May  2 16:18:56 2023 rev:24 rq:1083918 version:0.5.12

Changes:
--------
--- /work/SRC/openSUSE:Factory/lutris/lutris.changes    2023-01-11 
14:37:24.566029640 +0100
+++ /work/SRC/openSUSE:Factory/.lutris.new.1533/lutris.changes  2023-05-02 
16:23:28.543393491 +0200
@@ -1,0 +2,14 @@
+Sun Apr 30 11:50:46 UTC 2023 - Marcus Rueckert <mrueck...@suse.de>
+
+- switch to autosetup
+
+-------------------------------------------------------------------
+Sun Apr 30 11:48:39 UTC 2023 - Marcus Rueckert <mrueck...@suse.de>
+
+- Added fix-float-str-concat.patch:
+  This fixes a code error when an game crashes 
+  https://github.com/lutris/lutris/issues/4289
+
+  This patch can be removed with 0.5.13
+
+-------------------------------------------------------------------

New:
----
  fix-float-str-concat.patch

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

Other differences:
------------------
++++++ lutris.spec ++++++
--- /var/tmp/diff_new_pack.9ywhHu/_old  2023-05-02 16:23:29.099396788 +0200
+++ /var/tmp/diff_new_pack.9ywhHu/_new  2023-05-02 16:23:29.103396812 +0200
@@ -24,6 +24,7 @@
 License:        GPL-3.0-or-later
 URL:            https://lutris.net
 Source0:        https://lutris.net/releases/lutris_%{version}.tar.xz
+Patch:          fix-float-str-concat.patch
 BuildRequires:  fdupes
 BuildRequires:  gobject-introspection
 BuildRequires:  hicolor-icon-theme
@@ -60,7 +61,7 @@
 or emulated console games and browser games.
 
 %prep
-%setup -q -n %{name}
+%autosetup -p1 -n %{name}
 sed -i "s|!%{_bindir}/env python3|!%{_bindir}/python3|" 
share/lutris/bin/lutris-wrapper
 
 %build

++++++ fix-float-str-concat.patch ++++++
Index: lutris/lutris/game.py
===================================================================
--- lutris.orig/lutris/game.py
+++ lutris/lutris/game.py
@@ -93,7 +93,7 @@ class Game(GObject.Object):
             self.custom_images.add("coverart_big")
         self.service = game_data.get("service")
         self.appid = game_data.get("service_id")
-        self.playtime = game_data.get("playtime") or 0.0
+        self.playtime = float(game_data.get("playtime") or 0.0)
 
         if self.game_config_id:
             self.load_config()

Reply via email to