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 2022-05-20 17:50:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nodejs-electron (Old)
and /work/SRC/openSUSE:Factory/.nodejs-electron.new.1538 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nodejs-electron"
Fri May 20 17:50:59 2022 rev:25 rq:978224 version:17.4.5
Changes:
--------
--- /work/SRC/openSUSE:Factory/nodejs-electron/nodejs-electron.changes
2022-05-12 23:01:32.196891560 +0200
+++
/work/SRC/openSUSE:Factory/.nodejs-electron.new.1538/nodejs-electron.changes
2022-05-20 17:51:46.263283083 +0200
@@ -1,0 +2,8 @@
+Thu May 19 10:08:10 UTC 2022 - Bruno Pitrus <[email protected]>
+- New upstream release 17.4.5:
+ * Fixed a crash when calling loadExtension on an extension directory that's
missing a manifest file. #34193 (Also in 16)
+ * SIGUSR1 is no longer handled when the node_cli_inspect fuse is disabled.
+ * Backported security fixes: CVE-2022-1637, CVE-2022-1638, CVE-2022-1639.
+- Remove some spurious generated files from the tarball.
+
+-------------------------------------------------------------------
Old:
----
electron-17.4.4.tar.xz
New:
----
electron-17.4.5.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ nodejs-electron.spec ++++++
--- /var/tmp/diff_new_pack.dddM14/_old 2022-05-20 17:51:59.179294841 +0200
+++ /var/tmp/diff_new_pack.dddM14/_new 2022-05-20 17:51:59.183294844 +0200
@@ -74,7 +74,7 @@
%endif
%bcond_without system_ffmpeg
Name: nodejs-electron
-Version: 17.4.4
+Version: 17.4.5
Release: 0
Summary: Build cross platform desktop apps with JavaScript, HTML, and
CSS
License: MIT
++++++ create_tarball.sh ++++++
--- /var/tmp/diff_new_pack.dddM14/_old 2022-05-20 17:51:59.267294921 +0200
+++ /var/tmp/diff_new_pack.dddM14/_new 2022-05-20 17:51:59.271294924 +0200
@@ -59,7 +59,7 @@
EOF
echo ">>>>>> Downloading electron-${ELECTRON_PKGVERSION}"
-gclient sync --jobs 4 --nohooks --no-history --shallow
--revision=v"${ELECTRON_PKGVERSION}"
+gclient sync -v --jobs $(nproc) --nohooks --no-history --shallow
--revision=v"${ELECTRON_PKGVERSION}"
if [ $? -ne 0 ]; then
echo "ERROR: gclient sync failed"
cleanup_and_exit 1
@@ -102,6 +102,10 @@
update \
--gs-url-base=chromium-optimization-profiles/pgo_profiles
+
+#The following commands overwrite this file which is needed during build.
+#The precise content is unimportant, but we cache the original one for
reproducibility.
+mv -v src/third_party/node/node_modules.tar.gz.sha1{,.bak}
# Needed to get typescript compiler
echo ">>>>>> Get node modules for third_party/node"
bash src/third_party/node/update_npm_deps
@@ -109,6 +113,9 @@
echo "ERROR: npm ci failed"
cleanup_and_exit 1
fi
+mv -v src/third_party/node/node_modules.tar.gz.sha1{.bak,}
+# Remove unnecessary repack of node_modules
+rm -v src/third_party/node/node_modules.tar.gz
echo ">>>>>> Get node modules for electron"
pushd src/electron || cleanup_and_exit 1
@@ -375,10 +382,13 @@
rm -rf third_party/blink/web_tests # 1.6GB
rm -rf third_party/catapult/tracing/test_data # 200MB
find . -type d -name .git -print0 | xargs -0 rm -rf
+# Remove generatted python bytecode
+find . -type d -name __pycache__ -print0 | xargs -0 rm -rvf
+find . -type f -name '*.pyc' -print -delete
popd || cleanup_and_exit 1
echo ">>>>>> Create tarball"
-XZ_OPT="-T$(nproc)" tar cJf
"${ELECTRON_PKGDIR}/${ELECTRON_PKGNAME}-${ELECTRON_PKGVERSION}.tar.xz"
"${ELECTRON_PKGNAME}-${ELECTRON_PKGVERSION}"
+XZ_OPT="-T$(nproc) -e9" tar -vcJf
"${ELECTRON_PKGDIR}/${ELECTRON_PKGNAME}-${ELECTRON_PKGVERSION}.tar.xz"
"${ELECTRON_PKGNAME}-${ELECTRON_PKGVERSION}"
if [ $? -ne 0 ]; then
echo "ERROR: tar cJf failed"
cleanup_and_exit 1
++++++ electron-17.4.4.tar.xz -> electron-17.4.5.tar.xz ++++++
/work/SRC/openSUSE:Factory/nodejs-electron/electron-17.4.4.tar.xz
/work/SRC/openSUSE:Factory/.nodejs-electron.new.1538/electron-17.4.5.tar.xz
differ: char 15, line 1