fix tiny-lr command error

This commit is contained in:
lyn1001 2024-04-09 17:12:32 +08:00
parent f2bba9d5f4
commit 29bb9023c9

View File

@ -2,7 +2,7 @@
%global enable_tests 0
Name: nodejs-tiny-lr-fork
Version: 0.0.5
Release: 3
Release: 4
Summary: A tiny LiveReload server implementation you can spawn in the background
License: MIT
URL: https://github.com/shama/tiny-lr
@ -24,6 +24,7 @@ BuildRequires: npm(noptify) npm(qs) npm(request) npm(supertest)
%nodejs_fixdep noptify '~0.0.3'
%nodejs_fixdep debug '^4.3.4'
%nodejs_fixdep request '^2.1.0'
sed -i 's/process.pid,/process.pid.toString(),/g' bin/tiny-lr
%build
#nothing to do
@ -58,6 +59,9 @@ ln -sf %{nodejs_sitelib}/tiny-lr-fork/bin/update-livereload \
%{_bindir}/update-livereload
%changelog
* Tue Apr 9 2024 liyanan <liyanan61@h-partners.com> - 0.0.5-4
- fix tiny-lr command error
* Tue Aug 29 2023 wulei <wu_lei@hoperun.com> - 0.0.5-3
- Add requires request for update-livereload error