[nodejs-sqlite3] Link the system node_modules into the test environment

Tom Hughes tomh at fedoraproject.org
Tue Mar 5 09:16:37 UTC 2013


commit ef1104d5871b54283aa06860058810ede477e714
Author: Tom Hughes <tom at compton.nu>
Date:   Tue Mar 5 09:16:07 2013 +0000

    Link the system node_modules into the test environment

 nodejs-sqlite3.spec |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/nodejs-sqlite3.spec b/nodejs-sqlite3.spec
index 631c596..0a04294 100644
--- a/nodejs-sqlite3.spec
+++ b/nodejs-sqlite3.spec
@@ -49,6 +49,7 @@ node-gyp rebuild
 
 %if 0%{?enable_tests}
 %check
+ln -s %{nodejs_sitelib} .
 ln -s Release/node_sqlite3.node build/node_sqlite3.node
 %{__nodejs} test/support/createdb.js
 mkdir test/tmp


More information about the scm-commits mailing list