[nodejs-filelist] Enable tests

Tom Hughes tomh at fedoraproject.org
Tue Nov 25 14:29:51 UTC 2014


commit 50a99c9951d860981714819d0de7470d14c7056b
Author: Tom Hughes <tom at compton.nu>
Date:   Tue Nov 25 14:29:37 2014 +0000

    Enable tests

 nodejs-filelist.spec |   11 ++++-------
 1 files changed, 4 insertions(+), 7 deletions(-)
---
diff --git a/nodejs-filelist.spec b/nodejs-filelist.spec
index 89a94b3..cec1327 100644
--- a/nodejs-filelist.spec
+++ b/nodejs-filelist.spec
@@ -1,10 +1,8 @@
 %global commit b89c29ed0847a1dfb96d81a794f6e1fac2d68d2f
 
-%global enable_tests 0
-
 Name:           nodejs-filelist
 Version:        0.0.3
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Lazy-evaluating list of files, based on globs or regexes
 
 License:        ASL 2.0
@@ -17,10 +15,8 @@ ExclusiveArch:  %{nodejs_arches} noarch
 
 BuildRequires:  nodejs-packaging
 
-%if 0%{?enable_tests}
 BuildRequires:  npm(jake)
 BuildRequires:  npm(utilities)
-%endif
 
 %description
 A FileList is a lazy-evaluated list of files. When given a list of
@@ -52,11 +48,9 @@ cp -pr package.json index.js %{buildroot}%{nodejs_sitelib}/filelist
 %nodejs_symlink_deps
 
 
-%if 0%{?enable_tests}
 %check
 %nodejs_symlink_deps --check
 jake test
-%endif
 
 
 %files
@@ -65,5 +59,8 @@ jake test
 
 
 %changelog
+* Tue Nov 25 2014 Tom Hughes <tom at compton.nu> - 0.0.3-2
+- Enable tests
+
 * Sat Nov 15 2014 Tom Hughes <tom at compton.nu> - 0.0.3-1
 - Initial build of 0.0.3


More information about the scm-commits mailing list