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

Jamie Nguyen jamielinux at fedoraproject.org
Mon Apr 15 16:54:42 UTC 2013


commit 235b471085416ed1d6cb043db6fc15483388d846
Author: Jamie Nguyen <j at jamielinux.com>
Date:   Mon Apr 15 17:54:28 2013 +0100

    Add macro to enable dependency generation on EPEL

 nodejs-showdown.spec |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/nodejs-showdown.spec b/nodejs-showdown.spec
index 898334d..301a008 100644
--- a/nodejs-showdown.spec
+++ b/nodejs-showdown.spec
@@ -1,3 +1,5 @@
+%{?nodejs_find_provides_and_requires}
+
 %global enable_tests 0
 
 Name:       nodejs-showdown
@@ -18,7 +20,7 @@ BuildRequires:  npm(should)
 %endif
 
 %description
-%summary
+%{summary}.
 
 
 %prep
@@ -41,7 +43,7 @@ cp -pr package.json compressed/ src/ \
 
 %if 0%{?enable_tests}
 %check
-cp -pr %{nodejs_sitelib} .
+ln -sf %{nodejs_sitelib} .
 %{nodejs_sitelib}/mocha/bin/mocha --require should --ui bdd
 %endif
 


More information about the scm-commits mailing list