diff --git a/nodejs-grunt-legacy-log-utils.spec b/nodejs-grunt-legacy-log-utils.spec index 14943d3..3f5e0b0 100644 --- a/nodejs-grunt-legacy-log-utils.spec +++ b/nodejs-grunt-legacy-log-utils.spec @@ -1,22 +1,26 @@ %{?nodejs_find_provides_and_requires} +%global srcname grunt-legacy-log-utils + Name: nodejs-grunt-legacy-log-utils -Version: 0.1.1 -Release: 4%{?dist} +Version: 1.0.0 +Release: 1%{?dist} Summary: Static methods for the Grunt 0.4.x logger License: MIT URL: https://github.com/gruntjs/grunt-legacy-log-utils -Source0: https://registry.npmjs.org/grunt-legacy-log-utils/-/grunt-legacy-log-utils-%{version}.tgz +Source0: https://github.com/gruntjs/%{srcname}/archive/v%{version}.tar.gz#/%{srcname}-%{version}.tar.gz + + BuildArch: noarch ExclusiveArch: %{nodejs_arches} noarch BuildRequires: nodejs-packaging -BuildRequires: npm(nodeunit) -BuildRequires: npm(colors) +BuildRequires: npm(grunt-contrib-nodeunit) BuildRequires: npm(lodash) -BuildRequires: npm(underscore.string) +BuildRequires: npm(chalk) +BuildRequires: npm(grunt-cli) %description @@ -24,10 +28,8 @@ BuildRequires: npm(underscore.string) %prep -%setup -q -n package -%nodejs_fixdep colors "^1.1.2" +%setup -q -n %{srcname}-%{version} %nodejs_fixdep lodash "^3.10.1" -%nodejs_fixdep underscore.string "^2.3.1" rm -rf node_modules @@ -42,7 +44,7 @@ cp -pr package.json index.js %{buildroot}%{nodejs_sitelib}/grunt-legacy-log-util %check %nodejs_symlink_deps --check -%{nodejs_sitelib}/nodeunit/bin/nodeunit test/index.js +/usr/bin/grunt nodeunit %files @@ -53,6 +55,9 @@ cp -pr package.json index.js %{buildroot}%{nodejs_sitelib}/grunt-legacy-log-util %changelog +* Mon Aug 15 2016 Piotr Popieluch - - 1.0.0-1 +- Update to 1.0.0 + * Thu Feb 04 2016 Fedora Release Engineering - 0.1.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild