!12 fix tiny-lr command error

From: @lyn1001 
Reviewed-by: @wang--ge 
Signed-off-by: @wang--ge
This commit is contained in:
openeuler-ci-bot 2024-04-09 10:16:45 +00:00 committed by Gitee
commit e50422d27b
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

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