[nodejs-ltx] Add macro to enable dependency generation on EPEL
Jamie Nguyen
jamielinux at fedoraproject.org
Mon Apr 15 16:46:42 UTC 2013
commit d5c25d0fab44196376edacd6922d2e0a541fbbb2
Author: Jamie Nguyen <j at jamielinux.com>
Date: Mon Apr 15 17:46:30 2013 +0100
Add macro to enable dependency generation on EPEL
nodejs-ltx.spec | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/nodejs-ltx.spec b/nodejs-ltx.spec
index 5428a62..20a81cc 100644
--- a/nodejs-ltx.spec
+++ b/nodejs-ltx.spec
@@ -1,3 +1,5 @@
+%{?nodejs_find_provides_and_requires}
+
%global enable_tests 0
Name: nodejs-ltx
@@ -17,7 +19,7 @@ BuildRequires: npm(vows)
%endif
%description
-%summary
+%{summary}.
%prep
@@ -38,7 +40,7 @@ cp -pr package.json index.js lib/ \
%if 0%{?enable_tests}
%check
-cp -pr %{nodejs_sitelib} .
+ln -sf %{nodejs_sitelib} .
%__nodejs test/element-test.js
%__nodejs test/parse-test.js
%endif
More information about the scm-commits
mailing list