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

Jamie Nguyen jamielinux at fedoraproject.org
Mon Apr 15 16:56:06 UTC 2013


commit c8b56e932acdd2c48ae52fa3c0e7c16f069f6035
Author: Jamie Nguyen <j at jamielinux.com>
Date:   Mon Apr 15 17:55:56 2013 +0100

    Add macro to enable dependency generation on EPEL

 nodejs-walkdir.spec |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/nodejs-walkdir.spec b/nodejs-walkdir.spec
index 80e2aa8..683b288 100644
--- a/nodejs-walkdir.spec
+++ b/nodejs-walkdir.spec
@@ -1,3 +1,5 @@
+%{?nodejs_find_provides_and_requires}
+
 %global enable_tests 0
 
 Name:       nodejs-walkdir
@@ -43,7 +45,7 @@ cp -pr package.json walkdir.js \
 
 %if 0%{?enable_tests}
 %check
-cp -pr %{nodejs_sitelib} .
+ln -sf %{nodejs_sitelib} .
 %tap test/*.js
 %endif
 


More information about the scm-commits mailing list