!2 Fix compilation failed

From: @houyingchao 
Reviewed-by: @gitee-cmd 
Signed-off-by: @gitee-cmd
This commit is contained in:
openeuler-ci-bot 2022-06-30 12:29:46 +00:00 committed by Gitee
commit bd309f58ad
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -4,7 +4,7 @@
Name: nodejs-request
Version: 2.67.0
Release: 1
Release: 2
Summary: Simplified HTTP request client
License: ASL 2.0
URL: https://github.com/request/request
@ -37,7 +37,7 @@ PUT or POST request. It also supports a few simple server and proxy functions.
%autosetup -p 1 -n request-%{version}
%{nodejs_fixdep} bl "^1.0.0"
%{nodejs_fixdep} form-data "^0.2.0"
%{nodejs_fixdep} hawk "^4.0.1"
%{nodejs_fixdep} hawk "^9.0.1"
%{nodejs_fixdep} http-signature "^0.10.0"
%{nodejs_fixdep} qs "^6.0.1"
%{nodejs_fixdep} tough-cookie "^2.3.1"
@ -57,7 +57,6 @@ cp -pr package.json index.js request.js lib %{buildroot}%{nodejs_sitelib}/reques
%check
%{nodejs_symlink_deps} --check
%__nodejs -e "require('./')"
%if 0%{?enable_tests}
# needs npm(server-destroy)
rm tests/test-tunnel.js
@ -72,5 +71,8 @@ tape tests/test-*.js
%changelog
* Thu Jun 30 2022 houyingchao <houyingchao@h-partners.com> - 2.67.0-2
- Fix compilation failed
* Wed Aug 19 2020 wangxiao <wangxiao65@huawei.com> - 2.67.0-1
- package init