[nodejs-underscore] Add macro to enable dependency generation on EPEL
Jamie Nguyen
jamielinux at fedoraproject.org
Mon Apr 15 16:55:41 UTC 2013
commit df8d01094b4277f41b7d9a1fe6d73f52c0997fde
Author: Jamie Nguyen <j at jamielinux.com>
Date: Mon Apr 15 17:55:31 2013 +0100
Add macro to enable dependency generation on EPEL
nodejs-underscore.spec | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/nodejs-underscore.spec b/nodejs-underscore.spec
index e5b335c..2203fa1 100644
--- a/nodejs-underscore.spec
+++ b/nodejs-underscore.spec
@@ -1,3 +1,5 @@
+%{?nodejs_find_provides_and_requires}
+
%global enable_tests 0
Name: nodejs-underscore
@@ -47,7 +49,7 @@ cp -pr package.json index.js underscore.js underscore-min.js \
%if 0%{?enable_tests}
%check
-cp -pr %{nodejs_sitelib} .
+ln -sf %{nodejs_sitelib} .
%{nodejs_sitelib}/phantomjs/bin/phantomjs \
test/vendor/runner.js test/index.html?noglobals=true
%endif
More information about the scm-commits
mailing list