[nodejs-nsp-audit-shrinkwrap] Disable tests as they need network access
Parag Nemade
pnemade at fedoraproject.org
Wed Nov 12 13:28:10 UTC 2014
commit b6af10e4def4431df377e76e59147321578940d6
Author: Parag Nemade <pnemade at redhat.com>
Date: Wed Nov 12 18:57:59 2014 +0530
Disable tests as they need network access
nodejs-nsp-audit-shrinkwrap.spec | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/nodejs-nsp-audit-shrinkwrap.spec b/nodejs-nsp-audit-shrinkwrap.spec
index 1dc375c..e16e1fe 100644
--- a/nodejs-nsp-audit-shrinkwrap.spec
+++ b/nodejs-nsp-audit-shrinkwrap.spec
@@ -3,7 +3,7 @@
Name: nodejs-%{module_name}
Version: 1.0.0
Release: 1%{?dist}
-Summary: Audits a shrinkwrap file against the Node Security Project module vulnerability database
+Summary: Audits a shrinkwrap file against the NSP module vulnerability database
License: MIT
URL: https://github.com/nodesecurity/%{module_name}
@@ -16,12 +16,11 @@ BuildRequires: npm(duplex)
BuildRequires: npm(nsp-api)
BuildRequires: npm(tape)
-#BuildRequires: npm(path)
-#BuildRequires: npm(fs)
%description
-%{summary}.
+Audits a shrinkwrap file against the Node Security Project module
+vulnerability database.
%prep
%setup -q -n package
@@ -37,9 +36,10 @@ cp -pr package.json index.js %{buildroot}%{nodejs_sitelib}/%{module_name}
%nodejs_symlink_deps
-%check
-%nodejs_symlink_deps --check
-node tests/test-*.js
+# disable following tests as they need network access
+#%%check
+#%%nodejs_symlink_deps --check
+#node tests/test-*.js
%files
%doc LICENSE README.md
More information about the scm-commits
mailing list