Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package nodejs-electron for openSUSE:Factory 
checked in at 2023-07-26 13:23:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nodejs-electron (Old)
 and      /work/SRC/openSUSE:Factory/.nodejs-electron.new.15225 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "nodejs-electron"

Wed Jul 26 13:23:34 2023 rev:72 rq:1100206 version:22.3.17

Changes:
--------
--- /work/SRC/openSUSE:Factory/nodejs-electron/nodejs-electron.changes  
2023-06-22 23:27:13.538197928 +0200
+++ 
/work/SRC/openSUSE:Factory/.nodejs-electron.new.15225/nodejs-electron.changes   
    2023-07-26 13:24:24.384167123 +0200
@@ -1,0 +2,9 @@
+Sat Jul 22 21:18:28 UTC 2023 - Bruno Pitrus <brunopit...@hotmail.com>
+- New upstream release 22.3.17
+  * Security fixes: CVE-2023-3422, CVE-2023-3421, CVE-2023-3420.
+
+-------------------------------------------------------------------
+Sun Jul 16 15:29:22 UTC 2023 - Bruno Pitrus <brunopit...@hotmail.com>
+- Add mojom-python3.12-imp.patch and 
Partial-migration-from-imp-to-importlib.patch to fix ftbfs on Rawhide
+
+-------------------------------------------------------------------

Old:
----
  electron-22.3.14.tar.zst

New:
----
  Partial-migration-from-imp-to-importlib.patch
  electron-22.3.17.tar.zst
  mojom-python3.12-imp.patch

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

Other differences:
------------------
++++++ nodejs-electron.spec ++++++
--- /var/tmp/diff_new_pack.RDa8oO/_old  2023-07-26 13:24:31.756211615 +0200
+++ /var/tmp/diff_new_pack.RDa8oO/_new  2023-07-26 13:24:31.764211663 +0200
@@ -208,7 +208,7 @@
 
 
 Name:           nodejs-electron
-Version:        22.3.14
+Version:        22.3.17
 Release:        0
 Summary:        Build cross platform desktop apps with JavaScript, HTML, and 
CSS
 License:        AFL-2.0 AND Apache-2.0 AND blessing AND BSD-2-Clause AND 
BSD-3-Clause AND BSD-Protection AND BSD-Source-Code AND bzip2-1.0.6 AND IJG AND 
ISC AND LGPL-2.0-or-later AND LGPL-2.1-or-later AND MIT AND MIT-CMU AND 
MIT-open-group AND (MPL-1.1 OR GPL-2.0-or-later OR LGPL-2.1-or-later) AND 
MPL-2.0 AND OpenSSL AND SGI-B-2.0 AND SUSE-Public-Domain AND X11
@@ -388,6 +388,9 @@
 Patch3200:      d0aa9ad.patch
 # PATCH-FIX-UPSTREAM - 
https://swiftshader-review.googlesource.com/c/SwiftShader/+/70328
 Patch3201:      647d3d2.patch
+Patch3202:      mojom-python3.12-imp.patch
+# 
https://src.fedoraproject.org/rpms/qt6-qtwebengine/blob/rawhide/f/Partial-migration-from-imp-to-importlib.patch
+Patch3203:      Partial-migration-from-imp-to-importlib.patch
 
 %if %{with clang}
 BuildRequires:  clang

++++++ Partial-migration-from-imp-to-importlib.patch ++++++
>From cbf5f7ad619a967bd54482e1d1df36d80b28145a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Franti=C5=A1ek=20Zatloukal?= <fzatl...@redhat.com>
Date: Thu, 13 Jul 2023 12:18:00 +0200
Subject: [PATCH] Partial migration from imp to importlib

---
 .../resources/protobufs/binary_proto_generator.py           | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git 
a/src/3rdparty/chromium/components/resources/protobufs/binary_proto_generator.py
 
b/src/3rdparty/chromium/components/resources/protobufs/binary_proto_generator.py
index 2a1802d..ba67251 100755
--- a/components/resources/protobufs/binary_proto_generator.py
+++ b/components/resources/protobufs/binary_proto_generator.py
@@ -9,7 +9,7 @@
 """
 from __future__ import print_function
 import abc
-import imp
+from importlib import util
 import optparse
 import os
 import re
@@ -68,7 +68,9 @@ class GoogleProtobufModuleImporter:
       raise ImportError(fullname)
 
     filepath = self._fullname_to_filepath(fullname)
-    return imp.load_source(fullname, filepath)
+    spec = util.spec_from_file_location(fullname, filepath)
+    loaded = util.module_from_spec(spec)
+    return spec.loader.exec_module(loaded)
 
 class BinaryProtoGenerator:
 
-- 
2.41.0



++++++ mojom-python3.12-imp.patch ++++++
Remove bogus unused import to fix FTBFS with python3.12

--- src/mojo/public/tools/mojom/mojom/fileutil.py.old   2023-06-21 
20:56:20.422273900 +0200
+++ src/mojo/public/tools/mojom/mojom/fileutil.py       2023-07-14 
15:40:21.994145300 +0200
@@ -3,7 +3,6 @@
 # found in the LICENSE file.
 
 import errno
-import imp
 import os.path
 import sys
 
--- src/mojo/public/tools/mojom/mojom/parse/lexer.py.old        2023-06-21 
20:56:20.430277900 +0200
+++ src/mojo/public/tools/mojom/mojom/parse/lexer.py    2023-07-14 
19:34:30.806158300 +0200
@@ -2,7 +2,6 @@
 # Use of this source code is governed by a BSD-style license that can be
 # found in the LICENSE file.
 
-import imp
 import os.path
 import sys
 

Reply via email to