Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package spice-gtk for openSUSE:Factory 
checked in at 2021-12-09 19:45:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/spice-gtk (Old)
 and      /work/SRC/openSUSE:Factory/.spice-gtk.new.2520 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "spice-gtk"

Thu Dec  9 19:45:23 2021 rev:50 rq:937399 version:0.39

Changes:
--------
--- /work/SRC/openSUSE:Factory/spice-gtk/spice-gtk.changes      2020-12-04 
21:27:15.642019165 +0100
+++ /work/SRC/openSUSE:Factory/.spice-gtk.new.2520/spice-gtk.changes    
2021-12-09 19:45:45.377137501 +0100
@@ -1,0 +2,6 @@
+Thu Dec  9 04:46:23 UTC 2021 - Steve Kowalik <steven.kowa...@suse.com>
+
+- Add patch support-new-pyparsing.patch:
+  * Use -c 'import foo' to check for module existance.
+
+-------------------------------------------------------------------

New:
----
  support-new-pyparsing.patch

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

Other differences:
------------------
++++++ spice-gtk.spec ++++++
--- /var/tmp/diff_new_pack.YdaREI/_old  2021-12-09 19:45:46.773138173 +0100
+++ /var/tmp/diff_new_pack.YdaREI/_new  2021-12-09 19:45:46.777138175 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package spice-gtk
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 # Copyright (c) 2011 Dominique Leuenberger, Amsterdam, The Netherlands.
 #
 # All modifications and additions to the file contributed by third parties
@@ -30,7 +30,7 @@
 Source3:        README.SUSE
 # PATCH-FIX-OPENSUSE spice-gtk-polkit-privs.patch bnc#804184 
dims...@opensuse.org -- Set the polkit defaults to auth_admin
 Patch0:         spice-gtk-polkit-privs.patch
-
+Patch1:         support-new-pyparsing.patch
 BuildRequires:  cyrus-sasl-devel
 BuildRequires:  gstreamer-plugins-bad
 BuildRequires:  gstreamer-plugins-good
@@ -133,7 +133,7 @@
 
 %prep
 %setup -q
-%patch0 -p1
+%autopatch -p1
 cp %{SOURCE3} .
 
 %build



++++++ support-new-pyparsing.patch ++++++
Index: spice-gtk-0.39/subprojects/spice-common/meson.build
===================================================================
--- spice-gtk-0.39.orig/subprojects/spice-common/meson.build
+++ spice-gtk-0.39/subprojects/spice-common/meson.build
@@ -132,7 +132,7 @@ if spice_common_generate_client_code or
   if get_option('python-checks')
     foreach module : ['six', 'pyparsing']
       message('Checking for python module @0@'.format(module))
-      cmd = run_command(python, '-m', module)
+      cmd = run_command(python, '-c', 'import @0@'.format(module))
       if cmd.returncode() != 0
         error('Python module @0@ not found'.format(module))
       endif

Reply via email to