Compare commits
37 Commits
Author | SHA256 | Date | |
---|---|---|---|
6c6d2fffa1 | |||
c4bf1d85f8 | |||
bfc14ecd77 | |||
bfa55f5c3e | |||
29a67e089b | |||
5969a75337 | |||
d915e5271b | |||
042a66a57c | |||
c5645897c8 | |||
7f5d4104cf | |||
6ca3b4a4ba | |||
7582ef8514 | |||
ab015c58a6 | |||
6afbfef854 | |||
e94cb2a7d6 | |||
a8c97332ac | |||
07e76b2a14 | |||
a05e0aa90b | |||
95f1a82560 | |||
14c7dad5ed | |||
09a0beefc0 | |||
7c08bd6de6 | |||
3e22329a21 | |||
c675a3115b | |||
16bf61e24e | |||
0a0ae5d763 | |||
2d75c54c25 | |||
5ca47b7354 | |||
8b7fc7641f | |||
c5605e5235 | |||
ecc25f9be3 | |||
1a16349f64 | |||
a9ffcffc41 | |||
886e6dce53 | |||
45a0c8df3f | |||
0dadbc107b | |||
2a66cd8241 |
37
asar.changes
37
asar.changes
@@ -1,3 +1,40 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat May 17 11:40:13 UTC 2025 - Bruno Pitrus <brunopitrus@hotmail.com>
|
||||||
|
|
||||||
|
- New upstream release 4.0.0
|
||||||
|
* Rewrite program to use ES modules and require Node 22
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Apr 7 14:04:51 UTC 2025 - Bruno Pitrus <brunopitrus@hotmail.com>
|
||||||
|
|
||||||
|
- New upstream release 3.4.1
|
||||||
|
* allow ../ symlink Streams when they're still within the package (gh#electron/asar#363)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 2 10:29:53 UTC 2025 - Bruno Pitrus <brunopitrus@hotmail.com>
|
||||||
|
|
||||||
|
- New upstream release 3.4.0
|
||||||
|
* add in-memory API for streaming files to destination asar
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jan 7 20:14:41 UTC 2025 - Bruno Pitrus <brunopitrus@hotmail.com>
|
||||||
|
|
||||||
|
- New upstream release 3.2.18
|
||||||
|
* Respect unpack minimatch for symlinks within previously unpacked directories (gh#electron/asar#341)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 7 10:57:33 UTC 2024 - Bruno Pitrus <brunopitrus@hotmail.com>
|
||||||
|
|
||||||
|
- New upstream release 3.2.17
|
||||||
|
* isUnpackedDir matches non-child directories that have same folder name prefix (gh#electron/asar#333)
|
||||||
|
* checking if symlink with same prefix points outside the directory (gh#electron/asar#335)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Nov 6 15:52:11 UTC 2024 - Bruno Pitrus <brunopitrus@hotmail.com>
|
||||||
|
|
||||||
|
- New upstream release 3.2.16
|
||||||
|
* Enable getNode to follow directory links (gh#electron/asar#248)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Sep 11 08:00:37 UTC 2024 - Bruno Pitrus <brunopitrus@hotmail.com>
|
Wed Sep 11 08:00:37 UTC 2024 - Bruno Pitrus <brunopitrus@hotmail.com>
|
||||||
|
|
||||||
|
24
asar.spec
24
asar.spec
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: asar
|
Name: asar
|
||||||
Version: 3.2.13
|
Version: 4.0.0
|
||||||
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
|
||||||
@@ -65,12 +65,12 @@ tsc --removeComments --sourceMap false || true
|
|||||||
%install
|
%install
|
||||||
mkdir -pv %{buildroot}%{nodejs_sitelib}/@electron
|
mkdir -pv %{buildroot}%{nodejs_sitelib}/@electron
|
||||||
mkdir -pv %{buildroot}%{_bindir}
|
mkdir -pv %{buildroot}%{_bindir}
|
||||||
cp -lr . %{buildroot}%{nodejs_sitelib}/@electron/asar
|
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
|
# symlink old package name
|
||||||
ln -srv %{buildroot}%{nodejs_sitelib}/{@electron/,}asar
|
ln -srv %{buildroot}%{nodejs_sitelib}/{@electron/,}asar
|
||||||
#fix shebang
|
#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
|
cd %{buildroot}%{nodejs_sitelib}/asar
|
||||||
|
|
||||||
# Correct bogus version in package.json
|
# Correct bogus version in package.json
|
||||||
@@ -92,7 +92,10 @@ find -name @types -print0 |xargs -r0 -- rm -rvf
|
|||||||
find -name .github -print0 |xargs -r0 -- rm -rvf
|
find -name .github -print0 |xargs -r0 -- rm -rvf
|
||||||
find -name .circleci -print0 |xargs -r0 -- rm -rvf
|
find -name .circleci -print0 |xargs -r0 -- rm -rvf
|
||||||
find -name '*.md' -type f -print -delete
|
find -name '*.md' -type f -print -delete
|
||||||
|
find -name '*.map' -type f -print -delete
|
||||||
find -name '*.markdown' -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 '*.ts' -type f -print -delete
|
||||||
find -name '.*.yml' -type f -print -delete
|
find -name '.*.yml' -type f -print -delete
|
||||||
find -name '.*ignore' -type f -print -delete
|
find -name '.*ignore' -type f -print -delete
|
||||||
@@ -103,7 +106,12 @@ find -name '.yarn*' -type f -print -delete
|
|||||||
find -name '*package-lock.json' -type f -print -delete
|
find -name '*package-lock.json' -type f -print -delete
|
||||||
find -name '.prettierrc*' -type f -print -delete
|
find -name '.prettierrc*' -type f -print -delete
|
||||||
find -name '.releaserc*' -type f -print -delete
|
find -name '.releaserc*' -type f -print -delete
|
||||||
|
find -name '.mocharc*' -type f -print -delete
|
||||||
find -name tsconfig.json -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
|
||||||
|
|
||||||
# Remove empty directories
|
# Remove empty directories
|
||||||
find . -type d -empty -print -delete
|
find . -type d -empty -print -delete
|
||||||
@@ -111,16 +119,16 @@ find . -type d -empty -print -delete
|
|||||||
%fdupes %{buildroot}
|
%fdupes %{buildroot}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
pushd %{buildroot}%{nodejs_sitelib}/asar
|
pushd %{buildroot}%{nodejs_sitelib}
|
||||||
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Node.js/#_build_testing_in_check
|
# 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
|
#check that the executable starts
|
||||||
./bin/asar.js -h
|
./@electron/asar/bin/asar.mjs -h
|
||||||
popd
|
popd
|
||||||
|
|
||||||
#the actual test suite
|
#the actual test suite
|
||||||
npx mocha -- --reporter spec --timeout 10000
|
npx mocha -- --timeout '"20000"'
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:b1756c31e8cd42257081b81726b1489a3923709e4cbf86f7d377fab3870b1e26
|
|
||||||
size 83884
|
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:7ae3926ecbce6560d9f48948f18aee8ade7651f1ee319eb3e1538a1ffaa68ac8
|
|
||||||
size 50236
|
|
3
v4.0.0.tar.gz
Normal file
3
v4.0.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:309ee3662aaeebf60ccf3d4ec7be43022114cc035d2a481deb50651d8f627643
|
||||||
|
size 79872
|
@@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:868bba63e9833e2434238c004473e661597c93adbe1bc40d9c0cf1897808dd9c
|
oid sha256:4ef8b0898802b682c6728873ffcdf7fbf982e6072cc87bc44dd6ae24b89870f1
|
||||||
size 5366272
|
size 9525130
|
||||||
|
Reference in New Issue
Block a user