From 29f0a8101556dd611f12ab9e17307f6657cfec7e Mon Sep 17 00:00:00 2001 From: lyn1001 Date: Tue, 9 Apr 2024 17:12:32 +0800 Subject: [PATCH] fix tiny-lr command error (cherry picked from commit 29bb9023c95bafc292dbdaa34a47c9a87e398b54) --- nodejs-tiny-lr-fork.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/nodejs-tiny-lr-fork.spec b/nodejs-tiny-lr-fork.spec index 83d57f7..74fdad8 100644 --- a/nodejs-tiny-lr-fork.spec +++ b/nodejs-tiny-lr-fork.spec @@ -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 - 0.0.5-4 +- fix tiny-lr command error + * Tue Aug 29 2023 wulei - 0.0.5-3 - Add requires request for update-livereload error -- Gitee