[nodejs-libxmljs] Add macro to enable dependency generation on EPEL
Jamie Nguyen
jamielinux at fedoraproject.org
Mon Apr 15 16:45:59 UTC 2013
commit ddc701c51c1b5d20b7a0e74344d03d4b41cf73f2
Author: Jamie Nguyen <j at jamielinux.com>
Date: Mon Apr 15 17:45:48 2013 +0100
Add macro to enable dependency generation on EPEL
nodejs-libxmljs.spec | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/nodejs-libxmljs.spec b/nodejs-libxmljs.spec
index 2c14e40..8fdd70c 100644
--- a/nodejs-libxmljs.spec
+++ b/nodejs-libxmljs.spec
@@ -1,3 +1,5 @@
+%{?nodejs_find_provides_and_requires}
+
%global enable_tests 0
Name: nodejs-libxmljs
@@ -23,7 +25,7 @@ BuildRequires: npm(nodeunit)
%endif
%description
-%summary
+%{summary}.
%prep
@@ -49,7 +51,7 @@ install -p -D -m0755 build/Release/xmljs.node \
%if 0%{?enable_tests}
%check
-cp -pr %{nodejs_sitelib} .
+ln -sf %{nodejs_sitelib} .
%__nodejs --expose_gc %{nodejs_sitelib}/nodeunit/bin/nodeunit test
%endif
More information about the scm-commits
mailing list