回退 'Pull Request !10 : Upgrade to 2.0.6'
This commit is contained in:
parent
95b6866161
commit
cfef615d42
BIN
1.1.3.tar.gz
Normal file
BIN
1.1.3.tar.gz
Normal file
Binary file not shown.
BIN
2.0.6.tar.gz
BIN
2.0.6.tar.gz
Binary file not shown.
22
fast-levenshtein_adjust-timeouts.patch
Normal file
22
fast-levenshtein_adjust-timeouts.patch
Normal 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) {
|
||||||
@ -2,12 +2,13 @@
|
|||||||
%global packagename fast-levenshtein
|
%global packagename fast-levenshtein
|
||||||
%global enable_tests 1
|
%global enable_tests 1
|
||||||
Name: nodejs-fast-levenshtein
|
Name: nodejs-fast-levenshtein
|
||||||
Version: 2.0.6
|
Version: 1.1.3
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Efficient implementation of Levenshtein algorithm
|
Summary: Efficient implementation of Levenshtein algorithm
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/hiddentao/fast-levenshtein
|
URL: https://github.com/hiddentao/fast-levenshtein
|
||||||
Source0: https://github.com/hiddentao/fast-levenshtein/archive/%{version}.tar.gz
|
Source0: https://github.com/hiddentao/fast-levenshtein/archive/%{version}.tar.gz
|
||||||
|
Patch0: fast-levenshtein_adjust-timeouts.patch
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
ExclusiveArch: %{nodejs_arches} noarch
|
ExclusiveArch: %{nodejs_arches} noarch
|
||||||
BuildRequires: nodejs-packaging uglify-js
|
BuildRequires: nodejs-packaging uglify-js
|
||||||
@ -47,9 +48,6 @@ cp -pr package.json *.js \
|
|||||||
%{nodejs_sitelib}/%{packagename}
|
%{nodejs_sitelib}/%{packagename}
|
||||||
|
|
||||||
%changelog
|
%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
|
* Web 09 Jun 2021 zhaoyao<zhaoyao32@huawei.com> - 1.1.3-2
|
||||||
- %prep no longer patched with git
|
- %prep no longer patched with git
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user