%{?nodejs_find_provides_and_requires} %global enable_tests 0 # tests disabled for bootstrapping Name: nodejs-grunt-contrib-clean Version: 0.6.0 Release: 2%{?dist} Summary: A Grunt plugin to clean files and folders License: MIT Group: System Environment/Libraries URL: https://github.com/gruntjs/grunt-contrib-clean Source0: http://registry.npmjs.org/grunt-contrib-clean/-/grunt-contrib-clean-%{version}.tgz BuildArch: noarch %if 0%{?fedora} >= 19 ExclusiveArch: %{nodejs_arches} noarch %else ExclusiveArch: %{ix86} x86_64 %{arm} noarch %endif BuildRequires: nodejs-packaging %if 0%{?enable_tests} BuildRequires: npm(grunt-cli) BuildRequires: npm(grunt-contrib-internal) BuildRequires: npm(grunt-contrib-nodeunit) BuildRequires: npm(rimraf) %endif %description %{summary}. %prep %setup -q -n package %nodejs_fixdep rimraf %build #nothing to do %install mkdir -p %{buildroot}%{nodejs_sitelib}/grunt-contrib-clean cp -pr package.json tasks/ \ %{buildroot}%{nodejs_sitelib}/grunt-contrib-clean %nodejs_symlink_deps %if 0%{?enable_tests} %check %nodejs_symlink_deps --check /usr/bin/grunt test %endif %files %doc README.md %license LICENSE-MIT %{nodejs_sitelib}/grunt-contrib-clean %changelog * Tue Oct 27 2015 Jared Smith - 0.6.0-2 - Relax dependency on version of rpm(rimraf) * Tue Oct 27 2015 Jared Smith - 0.6.0-1 - Update to upstraem 0.6.0 release * Wed Jun 17 2015 Fedora Release Engineering - 0.5.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.5.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Thu Mar 13 2014 Jamie Nguyen - 0.5.0-1 - initial package