!21 Modify require version to fix unresolvable

From: @bzg1107 
Reviewed-by: @gitee-cmd 
Signed-off-by: @gitee-cmd
This commit is contained in:
openeuler-ci-bot 2022-07-01 11:20:17 +00:00 committed by Gitee
commit a54111533f
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,7 +1,7 @@
%global enable_tests 1 %global enable_tests 1
Name: nodejs-grunt Name: nodejs-grunt
Version: 1.0.1 Version: 1.0.1
Release: 4 Release: 5
Summary: Grunt is a JavaScript library used for automation and running tasks Summary: Grunt is a JavaScript library used for automation and running tasks
License: MIT License: MIT
URL: https://github.com/gruntjs/grunt URL: https://github.com/gruntjs/grunt
@ -32,7 +32,7 @@ of that mundane work for you with basically zero effort.
%autosetup -n grunt-%{version} -p1 %autosetup -n grunt-%{version} -p1
%nodejs_fixdep coffee-script '^1.3' %nodejs_fixdep coffee-script '^1.3'
%nodejs_fixdep dateformat '*' %nodejs_fixdep dateformat '*'
%nodejs_fixdep eventemitter2 '~0.4' %nodejs_fixdep eventemitter2 '^6.4.5'
%nodejs_fixdep findup-sync '~0.3' %nodejs_fixdep findup-sync '~0.3'
%nodejs_fixdep glob '~6.0.3' %nodejs_fixdep glob '~6.0.3'
%nodejs_fixdep minimatch '~3.0.0' %nodejs_fixdep minimatch '~3.0.0'
@ -60,6 +60,9 @@ grunt nodeunit:all
%{nodejs_sitelib}/grunt %{nodejs_sitelib}/grunt
%changelog %changelog
* Fri July 01 2022 baizhonggui <baizhonggui@h-partners.com> - 1.0.1-5
- Modify eventemitter version to 6.4.5 to compat latest eventemitter
* Mon May 09 2022 wangkai <wangkai385@h-partners.com> - 1.0.1-4 * Mon May 09 2022 wangkai <wangkai385@h-partners.com> - 1.0.1-4
- Remove BuildRequires npm(grunt-contrib-watch) - Remove BuildRequires npm(grunt-contrib-watch)