[nodejs-esutils] Only enable tests on Fedora and RHEL >= 7

Jamie Nguyen jamielinux at fedoraproject.org
Wed Apr 16 17:06:17 UTC 2014


commit 862847d092385b169cf895235852fae787996914
Author: Jamie Nguyen <j at jamielinux.com>
Date:   Wed Apr 16 18:02:31 2014 +0100

    Only enable tests on Fedora and RHEL >= 7

 nodejs-esutils.spec |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/nodejs-esutils.spec b/nodejs-esutils.spec
index 0f2f910..0067edc 100644
--- a/nodejs-esutils.spec
+++ b/nodejs-esutils.spec
@@ -1,6 +1,9 @@
 %{?nodejs_find_provides_and_requires}
 
+# npm(chai) not available on EL6.
+%if 0%{?fedora} || 0%{?rhel} >= 7
 %global enable_tests 1
+%endif
 
 Name:       nodejs-esutils
 Version:    1.0.0


More information about the scm-commits mailing list