Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package element-web for openSUSE:Factory 
checked in at 2022-10-06 07:42:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/element-web (Old)
 and      /work/SRC/openSUSE:Factory/.element-web.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "element-web"

Thu Oct  6 07:42:24 2022 rev:21 rq:1008216 version:1.11.8

Changes:
--------
--- /work/SRC/openSUSE:Factory/element-web/element-web.changes  2022-09-30 
17:57:31.301213626 +0200
+++ /work/SRC/openSUSE:Factory/.element-web.new.2275/element-web.changes        
2022-10-06 07:42:34.160736094 +0200
@@ -1,0 +2,9 @@
+Wed Oct  5 13:34:44 UTC 2022 - Dominik Heidler <dheid...@suse.de>
+
+- Fix webpack oom: fix-webpack-oom.patch
+
+-------------------------------------------------------------------
+Fri Sep 30 16:52:19 UTC 2022 - Bruno Pitrus <brunopit...@hotmail.com>
+- Remove spurious BuildRequire on electron.
+
+-------------------------------------------------------------------

New:
----
  fix-webpack-oom.patch

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

Other differences:
------------------
++++++ element-web.spec ++++++
--- /var/tmp/diff_new_pack.6yDQdX/_old  2022-10-06 07:42:35.812739772 +0200
+++ /var/tmp/diff_new_pack.6yDQdX/_new  2022-10-06 07:42:35.816739780 +0200
@@ -26,16 +26,15 @@
 Source1:        npm-packages-offline-cache.tar.gz
 Source2:        jitsi_external_api.min.js
 Source3:        prepare.sh
-BuildRequires:  nodejs-electron
+Patch0:         fix-webpack-oom.patch
 BuildRequires:  yarn
-ExcludeArch:    %{ix86} %{arm}
 BuildArch:      noarch
 
 %description
 A glossy Matrix collaboration client - web files
 
 %prep
-%autosetup -n element-web-%{version}
+%autosetup -n element-web-%{version} -p0
 
 %build
 echo 'yarn-offline-mirror "./npm-packages-offline-cache"' > .yarnrc
@@ -73,6 +72,8 @@
 
 %files
 %license LICENSE
+%dir %{_datadir}/webapps
+%dir %{_sysconfdir}/webapps
 %{_datadir}/webapps/element
 %{_sysconfdir}/webapps/element
 

++++++ fix-webpack-oom.patch ++++++
--- package.json        2022-09-28 17:01:20.000000000 +0200
+++ package.json        2022-10-05 15:31:15.012971003 +0200
@@ -37,7 +37,7 @@
     "build:res": "node scripts/copy-res.js",
     "build:genfiles": "yarn build:res && yarn build:jitsi && yarn 
build:module_system",
     "build:modernizr": "modernizr -c .modernizr.json -d 
src/vector/modernizr.js",
-    "build:bundle": "webpack --progress --bail --mode production",
+    "build:bundle": "node --max_old_space_size=4000 --optimize_for_size 
$(which webpack) --progress --bail --mode production",
     "build:bundle-stats": "webpack --progress --bail --mode production --json 
> webpack-stats.json",
     "build:module_system": "tsc --project ./tsconfig.module_system.json && 
node ./lib/module_system/scripts/install.js",
     "dist": "scripts/package.sh",

Reply via email to