Upgrade to 2.0.6
This commit is contained in:
parent
b0a6173bf8
commit
d8d40854ff
BIN
1.1.3.tar.gz
BIN
1.1.3.tar.gz
Binary file not shown.
BIN
2.0.6.tar.gz
Normal file
BIN
2.0.6.tar.gz
Normal file
Binary file not shown.
@ -1,22 +0,0 @@
|
||||
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) {
|
||||
@ -2,13 +2,12 @@
|
||||
%global packagename fast-levenshtein
|
||||
%global enable_tests 1
|
||||
Name: nodejs-fast-levenshtein
|
||||
Version: 1.1.3
|
||||
Release: 2
|
||||
Version: 2.0.6
|
||||
Release: 1
|
||||
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
|
||||
@ -48,6 +47,9 @@ 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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user