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:
parent
95f1a82560
commit
07e76b2a14
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: asar
|
Name: asar
|
||||||
Version: 3.2.8
|
Version: 3.2.9
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Creating atom-shell (electron) app packages
|
Summary: Creating atom-shell (electron) app packages
|
||||||
License: MIT and ISC
|
License: MIT and ISC
|
||||||
@ -89,7 +89,11 @@ find -name '.releaserc*' -type f -print -delete
|
|||||||
|
|
||||||
%fdupes %{buildroot}
|
%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.
|
#We can't run tests, we don't have mocha available.
|
||||||
|
|
||||||
%files
|
%files
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
#!/bin/bash -x
|
#!/bin/bash -eux
|
||||||
# shellcheck disable=2181
|
|
||||||
|
|
||||||
ASAR_PKGDIR="$(pwd)"
|
ASAR_PKGDIR="$(pwd)"
|
||||||
ASAR_PKGVERSION=$(<./*.spec grep ^Version | sed -e 's/Version:[ ]*//g')
|
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"
|
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=$?
|
ret=$?
|
||||||
if [ $ret -ne 0 ]; then
|
if [ $ret -ne 0 ]; then
|
||||||
echo "ERROR: yarn install failed"
|
echo "ERROR: yarn install failed"
|
||||||
@ -69,14 +68,9 @@ find . -type f| sponge |\
|
|||||||
|
|
||||||
|
|
||||||
echo ">>>>>> Package vendor files"
|
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
|
ZSTD_CLEVEL=19 ZSTD_NBTHREADS=$(nproc) tar --zstd --sort=name -vvScf "${ASAR_PKGDIR}/vendor.tar.zst" node_modules
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
cleanup_and_exit 1
|
cleanup_and_exit 1
|
||||||
fi
|
fi
|
||||||
echo "vendor $(du -sh "${ASAR_PKGDIR}/vendor.tar.zst")"
|
echo "vendor $(du -sh "${ASAR_PKGDIR}/vendor.tar.zst")"
|
||||||
|
|
||||||
|
|
||||||
popd || cleanup_and_exit 1
|
|
||||||
|
|
||||||
cleanup_and_exit 0
|
|
||||||
|
@ -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
3
v3.2.9.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:4698a5b838ad5b22c007b378d6c29b195c8581fee552e96504ff5c5a887acde4
|
||||||
|
size 83309
|
@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:f3097609e1c361db8dfa04a8a96e9b6a81a80cde25c2693a736bc21a66021cf2
|
oid sha256:cb65f1c689dc7f1915c21590c44e95fb9d573e752c35026277e25bc0521a0a1b
|
||||||
size 87014
|
size 79194
|
||||||
|
Loading…
Reference in New Issue
Block a user