[nodejs-jwt-simple] Add macro to enable dependency generation on EPEL

Jamie Nguyen jamielinux at fedoraproject.org
Mon Apr 15 16:43:29 UTC 2013


commit 815dd62b06d73049bdf6e7baf87ca7d80990fc63
Author: Jamie Nguyen <j at jamielinux.com>
Date:   Mon Apr 15 17:43:17 2013 +0100

    Add macro to enable dependency generation on EPEL

 nodejs-jwt-simple.spec |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/nodejs-jwt-simple.spec b/nodejs-jwt-simple.spec
index 66c0039..bc6ca35 100644
--- a/nodejs-jwt-simple.spec
+++ b/nodejs-jwt-simple.spec
@@ -1,3 +1,5 @@
+%{?nodejs_find_provides_and_requires}
+
 %global enable_tests 0
 
 Name:       nodejs-jwt-simple
@@ -18,7 +20,7 @@ BuildRequires:  npm(mocha)
 %endif
 
 %description
-%summary
+%{summary}
 
 
 %prep
@@ -39,7 +41,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 test/basic.js
 %endif
 


More information about the scm-commits mailing list