Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package asar for openSUSE:Factory checked in at 2025-05-20 09:36:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/asar (Old) and /work/SRC/openSUSE:Factory/.asar.new.30101 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "asar" Tue May 20 09:36:36 2025 rev:15 rq:1278135 version:4.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/asar/asar.changes 2025-04-08 17:52:13.384990206 +0200 +++ /work/SRC/openSUSE:Factory/.asar.new.30101/asar.changes 2025-05-20 09:38:41.086906981 +0200 @@ -1,0 +2,6 @@ +Sat May 17 11:40:13 UTC 2025 - Bruno Pitrus <brunopit...@hotmail.com> + +- New upstream release 4.0.0 + * Rewrite program to use ES modules and require Node 22 + +------------------------------------------------------------------- Old: ---- v3.4.1.tar.gz New: ---- v4.0.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ asar.spec ++++++ --- /var/tmp/diff_new_pack.YM2rcC/_old 2025-05-20 09:38:42.466967166 +0200 +++ /var/tmp/diff_new_pack.YM2rcC/_new 2025-05-20 09:38:42.466967166 +0200 @@ -17,7 +17,7 @@ Name: asar -Version: 3.4.1 +Version: 4.0.0 Release: 0 Summary: Creating atom-shell (electron) app packages License: MIT and ISC @@ -66,11 +66,11 @@ mkdir -pv %{buildroot}%{nodejs_sitelib}/@electron mkdir -pv %{buildroot}%{_bindir} cp -alr . %{buildroot}%{nodejs_sitelib}/@electron/asar -ln -srv %{buildroot}%{nodejs_sitelib}/@electron/asar/bin/asar.js %{buildroot}%{_bindir}/asar +ln -srv %{buildroot}%{nodejs_sitelib}/@electron/asar/bin/asar.mjs %{buildroot}%{_bindir}/asar # symlink old package name ln -srv %{buildroot}%{nodejs_sitelib}/{@electron/,}asar #fix shebang -sed -i '1s/env //' %{buildroot}%{nodejs_sitelib}/@electron/asar/bin/asar.js +sed -i '1s/env //' %{buildroot}%{nodejs_sitelib}/@electron/asar/bin/asar.mjs cd %{buildroot}%{nodejs_sitelib}/asar # Correct bogus version in package.json @@ -92,7 +92,10 @@ find -name .github -print0 |xargs -r0 -- rm -rvf find -name .circleci -print0 |xargs -r0 -- rm -rvf find -name '*.md' -type f -print -delete +find -name '*.map' -type f -print -delete find -name '*.markdown' -type f -print -delete +find -name '*.cts' -type f -print -delete +find -name '*.mts' -type f -print -delete find -name '*.ts' -type f -print -delete find -name '.*.yml' -type f -print -delete find -name '.*ignore' -type f -print -delete @@ -105,6 +108,7 @@ find -name '.releaserc*' -type f -print -delete find -name '.mocharc*' -type f -print -delete find -name tsconfig.json -type f -print -delete +find -name .nvmrc -type f -print -delete #remove symlink to no longer existent dev executable rm -v node_modules/.bin/node-which @@ -115,16 +119,16 @@ %fdupes %{buildroot} %check -pushd %{buildroot}%{nodejs_sitelib}/asar +pushd %{buildroot}%{nodejs_sitelib} # https://docs.fedoraproject.org/en-US/packaging-guidelines/Node.js/#_build_testing_in_check -%{__nodejs} -e 'require("./")' +%{__nodejs} -e 'require("@electron/asar")' #check that the executable starts -./bin/asar.js -h +./@electron/asar/bin/asar.mjs -h popd #the actual test suite -npx mocha -- --reporter spec --timeout 10000 +npx mocha -- --timeout '"20000"' %files %defattr(-,root,root) ++++++ v3.4.1.tar.gz -> v4.0.0.tar.gz ++++++ ++++ 2551 lines of diff (skipped) ++++++ vendor.tar.zst ++++++ /work/SRC/openSUSE:Factory/asar/vendor.tar.zst /work/SRC/openSUSE:Factory/.asar.new.30101/vendor.tar.zst differ: char 8, line 1