From 337bc89749b872fc97bac51d5ece55da20ea2051 Mon Sep 17 00:00:00 2001 From: Piotr Popieluch Date: Dec 15 2015 08:20:15 +0000 Subject: Fixdep lodash - Enable tests --- diff --git a/nodejs-fg-lodash.spec b/nodejs-fg-lodash.spec index 5e7003c..dae6ce0 100644 --- a/nodejs-fg-lodash.spec +++ b/nodejs-fg-lodash.spec @@ -1,10 +1,9 @@ -# Tests disabled due to missing dependencies -%global enable_tests 0 +%global enable_tests 1 %global srcname fg-lodash Name: nodejs-%{srcname} Version: 0.0.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: FG variant of lodash License: MIT URL: https://github.com/FGRibreau/lodash @@ -16,9 +15,7 @@ ExclusiveArch: %{nodejs_arches} noarch BuildRequires: nodejs-packaging %if 0%{?enable_tests} -BuildRequires: npm(gulp) -BuildRequires: npm(gulp-jasmine) -BuildRequires: npm(gulp-jshint) +BuildRequires: jasmine-node %endif %description @@ -27,6 +24,7 @@ BuildRequires: npm(gulp-jshint) %prep %setup -q -n package rm -rf node_modules +%nodejs_fixdep lodash '3.x' %nodejs_fixdep underscore.string '2.3.x' %build @@ -41,7 +39,7 @@ cp -pr package.json index.js %{buildroot}%{nodejs_sitelib}/%{srcname} %if 0%{?enable_tests} %check %nodejs_symlink_deps --check -gulp +/usr/bin/jasmine-node specs/index.spec.js %endif %files @@ -50,5 +48,9 @@ gulp %{nodejs_sitelib}/%{srcname} %changelog +* Tue Dec 15 2015 Piotr Popieluch - 0.0.2-2 +- Fixdep lodash +- Enable tests + * Fri Aug 28 2015 Piotr Popieluch - 0.0.2-1 - Initial package