SHA256
1
0
forked from pool/asar

Accepting request 1155749 from home:dziobian

- New upstream version 3.2.9
  * fix symlink pointing error in filesystem.insertLink

OBS-URL: https://build.opensuse.org/request/show/1155749
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/asar?expand=0&rev=21
This commit is contained in:
Bruno Pitrus 2024-03-06 20:36:42 +00:00 committed by Git OBS Bridge
parent 95f1a82560
commit 07e76b2a14
5 changed files with 14 additions and 16 deletions

View File

@ -17,7 +17,7 @@
Name: asar
Version: 3.2.8
Version: 3.2.9
Release: 0
Summary: Creating atom-shell (electron) app packages
License: MIT and ISC
@ -89,7 +89,11 @@ find -name '.releaserc*' -type f -print -delete
%fdupes %{buildroot}
#%%check
%check
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Node.js/#_build_testing_in_check
%{__nodejs} -e 'require("./")'
#We can't run tests, we don't have mocha available.
%files

View File

@ -1,5 +1,4 @@
#!/bin/bash -x
# shellcheck disable=2181
#!/bin/bash -eux
ASAR_PKGDIR="$(pwd)"
ASAR_PKGVERSION=$(<./*.spec grep ^Version | sed -e 's/Version:[ ]*//g')
@ -41,7 +40,7 @@ pushd "$ASAR_PATH" || cleanup_and_exit 1
echo ">>>>>> Install npm modules"
yarn install --pure-lockfile --ignore-engines --ignore-scripts --production --link-duplicates
yarn install --frozen-lockfile --ignore-engines --ignore-platform --ignore-scripts --production --link-duplicates
ret=$?
if [ $ret -ne 0 ]; then
echo "ERROR: yarn install failed"
@ -69,14 +68,9 @@ find . -type f| sponge |\
echo ">>>>>> Package vendor files"
rm -f "${SIGNAL_PKGDIR}/vendor.tar.zst"
rm -f "${ASAR_PKGDIR}/vendor.tar.zst"
ZSTD_CLEVEL=19 ZSTD_NBTHREADS=$(nproc) tar --zstd --sort=name -vvScf "${ASAR_PKGDIR}/vendor.tar.zst" node_modules
if [ $? -ne 0 ]; then
cleanup_and_exit 1
fi
echo "vendor $(du -sh "${ASAR_PKGDIR}/vendor.tar.zst")"
popd || cleanup_and_exit 1
cleanup_and_exit 0

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:200d62f1797d0d8e07c0f454cf7e899de6ac3489ff69fdab7d22280636758fdf
size 109753

3
v3.2.9.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4698a5b838ad5b22c007b378d6c29b195c8581fee552e96504ff5c5a887acde4
size 83309

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f3097609e1c361db8dfa04a8a96e9b6a81a80cde25c2693a736bc21a66021cf2
size 87014
oid sha256:cb65f1c689dc7f1915c21590c44e95fb9d573e752c35026277e25bc0521a0a1b
size 79194