回退 'Pull Request !10 : Upgrade to 2.0.6'

This commit is contained in:
lyn 2023-11-10 07:27:57 +00:00 committed by Gitee
parent 95b6866161
commit cfef615d42
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
4 changed files with 25 additions and 5 deletions

BIN
1.1.3.tar.gz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,22 @@
diff --git a/test/tests.js b/test/tests.js
index 54b9222..49628c5 100644
--- a/test/tests.js
+++ b/test/tests.js
@@ -108,7 +108,7 @@ var text1 = fs.readFileSync(__dirname + '/text1.txt', 'utf-8'),
exports['Async'] = {
'no progress callback': function(done) {
- this.timeout(20000);
+ this.timeout(40000);
var startTime = new Date().valueOf();
@@ -124,7 +124,7 @@ exports['Async'] = {
});
},
'with progress callback': function(done) {
- this.timeout(20000);
+ this.timeout(40000);
var percents = [];
var progress = function(percent) {

View File

@ -2,12 +2,13 @@
%global packagename fast-levenshtein
%global enable_tests 1
Name: nodejs-fast-levenshtein
Version: 2.0.6
Release: 1
Version: 1.1.3
Release: 2
Summary: Efficient implementation of Levenshtein algorithm
License: MIT
URL: https://github.com/hiddentao/fast-levenshtein
Source0: https://github.com/hiddentao/fast-levenshtein/archive/%{version}.tar.gz
Patch0: fast-levenshtein_adjust-timeouts.patch
BuildArch: noarch
ExclusiveArch: %{nodejs_arches} noarch
BuildRequires: nodejs-packaging uglify-js
@ -47,9 +48,6 @@ cp -pr package.json *.js \
%{nodejs_sitelib}/%{packagename}
%changelog
* Thu Nov 02 2023 yaoxin <yao_xin001@hoperun.com> - 2.0.6-1
- Upgrade to 2.0.6
* Web 09 Jun 2021 zhaoyao<zhaoyao32@huawei.com> - 1.1.3-2
- %prep no longer patched with git