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

Jamie Nguyen jamielinux at fedoraproject.org
Mon Apr 15 16:51:41 UTC 2013


commit 4372d2fb2d201e7d1ee0bd325de731ab1f006ab1
Author: Jamie Nguyen <j at jamielinux.com>
Date:   Mon Apr 15 17:51:30 2013 +0100

    Add macro to enable dependency generation on EPEL

 nodejs-pkginfo.spec |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/nodejs-pkginfo.spec b/nodejs-pkginfo.spec
index 697fbea..7a325ac 100644
--- a/nodejs-pkginfo.spec
+++ b/nodejs-pkginfo.spec
@@ -1,3 +1,5 @@
+%{?nodejs_find_provides_and_requires}
+
 %global enable_tests 0
 
 Name:       nodejs-pkginfo
@@ -41,7 +43,7 @@ cp -pr package.json lib/ \
 
 %if 0%{?enable_tests}
 %check
-cp -pr %{nodejs_sitelib} .
+ln -sf %{nodejs_sitelib} .
 %{nodejs_sitelib}/vows/bin/vows test/*-test.js --spec
 %endif
 


More information about the scm-commits mailing list