[nodejs-send] Add macro to enable dependency generation on EPEL
Jamie Nguyen
jamielinux at fedoraproject.org
Mon Apr 15 16:53:57 UTC 2013
commit a69ee9110736912dffbff25b906cae9866aa97fc
Author: Jamie Nguyen <j at jamielinux.com>
Date: Mon Apr 15 17:53:46 2013 +0100
Add macro to enable dependency generation on EPEL
nodejs-send.spec | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/nodejs-send.spec b/nodejs-send.spec
index fb5bb54..7edc188 100644
--- a/nodejs-send.spec
+++ b/nodejs-send.spec
@@ -1,3 +1,5 @@
+%{?nodejs_find_provides_and_requires}
+
%global enable_tests 0
Name: nodejs-send
@@ -56,7 +58,7 @@ cp -pr package.json index.js lib/ \
%if 0%{?enable_tests}
%check
-cp -pr %{nodejs_sitelib} .
+ln -sf %{nodejs_sitelib} .
%{nodejs_sitelib}/mocha/bin/mocha --require should --reporter spec --bail
%endif
More information about the scm-commits
mailing list