Browse Source

nodejs-grunt package creation

Signed-off-by: webbuilder_pel7ppc64lebuilder0 <webbuilder@powerel.org>
master
webbuilder_pel7ppc64lebuilder0 5 years ago
parent
commit
533ff1e855
  1. 23
      SPECS/nodejs-grunt.spec

23
SPECS/nodejs-grunt.spec

@ -1,8 +1,8 @@ @@ -1,8 +1,8 @@
%global enable_tests 0

Name: nodejs-grunt
Version: 1.0.1
Release: 1%{?dist}
Version: 1.0.4
Release: 3%{?dist}
Summary: Grunt is a JavaScript library used for automation and running tasks
License: MIT
URL: https://github.com/gruntjs/grunt
@ -61,7 +61,13 @@ of that mundane work for you with basically zero effort. @@ -61,7 +61,13 @@ of that mundane work for you with basically zero effort.
%nodejs_fixdep rimraf '^2.0'
%nodejs_fixdep js-yaml '^3.5.0'

# coffee-script was renamed to coffeescript...
# But we still ship coffee-script. So remove the
# npm(coffeescript) dep entirely
%nodejs_fixdep -r coffeescript

# As a consequence of the above, we need to s/coffeescript/coffee-script/...
sed 's/coffeescript/coffee-script/g' -i lib/grunt.js

%build
#nothing to do
@ -74,7 +80,6 @@ cp -pr package.json internal-tasks/ lib/ \ @@ -74,7 +80,6 @@ cp -pr package.json internal-tasks/ lib/ \

%nodejs_symlink_deps


%if 0%{?enable_tests}
%check
%nodejs_symlink_deps --check
@ -89,6 +94,18 @@ grunt nodeunit:all @@ -89,6 +94,18 @@ grunt nodeunit:all


%changelog
* Tue Feb 18 2020 Ben Rosser <rosser.bjr@gmail.com> - 1.0.4-3
- Load coffeescript as coffee-script in lib/grunt.js.

* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

* Tue Sep 17 2019 Ben Rosser <rosser.bjr@gmail.com> - 1.0.4-1
- Update to latest upstream release.

* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild


Loading…
Cancel
Save