[nodejs-gaze] Add macro to enable dependency generation on EPEL
Jamie Nguyen
jamielinux at fedoraproject.org
Mon Apr 15 16:39:55 UTC 2013
commit bce3bb38c3dbb04695a608b0a9865b62564cf47d
Author: Jamie Nguyen <j at jamielinux.com>
Date: Mon Apr 15 17:39:38 2013 +0100
Add macro to enable dependency generation on EPEL
nodejs-gaze.spec | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/nodejs-gaze.spec b/nodejs-gaze.spec
index 60628cc..246e012 100644
--- a/nodejs-gaze.spec
+++ b/nodejs-gaze.spec
@@ -1,3 +1,5 @@
+%{?nodejs_find_provides_and_requires}
+
%global enable_tests 0
Name: nodejs-gaze
@@ -43,7 +45,7 @@ cp -pr package.json lib/ \
%if 0%{?enable_tests}
%check
-cp -pr %{nodejs_sitelib} .
+ln -sf %{nodejs_sitelib} .
%{nodejs_sitelib}/nodeunit/bin/nodeunit test
%endif
More information about the scm-commits
mailing list