modify require version to fix unresolvable

This commit is contained in:
baizg1107 2022-07-01 18:24:29 +08:00
parent 7101c4f2c1
commit 56e480bc94

View File

@ -1,7 +1,7 @@
%global enable_tests 1
Name: nodejs-grunt
Version: 1.0.1
Release: 4
Release: 5
Summary: Grunt is a JavaScript library used for automation and running tasks
License: MIT
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
%nodejs_fixdep coffee-script '^1.3'
%nodejs_fixdep dateformat '*'
%nodejs_fixdep eventemitter2 '~0.4'
%nodejs_fixdep eventemitter2 '^6.4.5'
%nodejs_fixdep findup-sync '~0.3'
%nodejs_fixdep glob '~6.0.3'
%nodejs_fixdep minimatch '~3.0.0'
@ -60,6 +60,9 @@ grunt nodeunit:all
%{nodejs_sitelib}/grunt
%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
- Remove BuildRequires npm(grunt-contrib-watch)