|
|
@ -1,3 +1,5 @@
|
|
|
|
|
|
|
|
%{?nodejs_find_provides_and_requires}
|
|
|
|
|
|
|
|
|
|
|
|
%global enable_tests 0
|
|
|
|
%global enable_tests 0
|
|
|
|
|
|
|
|
|
|
|
|
Name: nodejs-underscore
|
|
|
|
Name: nodejs-underscore
|
|
|
@ -47,7 +49,7 @@ cp -pr package.json index.js underscore.js underscore-min.js \
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?enable_tests}
|
|
|
|
%if 0%{?enable_tests}
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
cp -pr %{nodejs_sitelib} .
|
|
|
|
ln -sf %{nodejs_sitelib} .
|
|
|
|
%{nodejs_sitelib}/phantomjs/bin/phantomjs \
|
|
|
|
%{nodejs_sitelib}/phantomjs/bin/phantomjs \
|
|
|
|
test/vendor/runner.js test/index.html?noglobals=true
|
|
|
|
test/vendor/runner.js test/index.html?noglobals=true
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|