[packages/nodejs-microtime] build with system gyp and node headers
    glen 
    glen at pld-linux.org
       
    Sun Apr  7 22:20:17 CEST 2013
    
    
  
commit 12dbb4d6f304294f23e1fdef70fe7f1fed1a15f4
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Apr 7 23:20:02 2013 +0300
    build with system gyp and node headers
 nodejs-microtime.spec | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/nodejs-microtime.spec b/nodejs-microtime.spec
index 45cedb4..8ef4ebd 100644
--- a/nodejs-microtime.spec
+++ b/nodejs-microtime.spec
@@ -9,7 +9,7 @@ URL:		https://github.com/wadey/node-microtime
 Source0:	http://registry.npmjs.org/microtime/-/%{pkg}-%{version}.tgz
 # Source0-md5:	0235c2c7e670706dd9ad0d05c773706e
 BuildRequires:	nodejs-devel >= 0.8
-BuildRequires:	rpmbuild(macros) >= 1.634
+BuildRequires:	rpmbuild(macros) >= 1.657
 BuildRequires:	npm >= 1.1.5
 BuildRequires:	nodejs-gyp
 BuildRequires:	sed >= 4.0
@@ -34,7 +34,8 @@ continuously or in `ticks'.
 mv package/* .
 
 %build
-node-gyp configure build
+node-gyp configure --nodedir=/usr/src/nodejs --gyp=/usr/bin/gyp
+node-gyp build --jobs=%{?__jobs} --verbose
 
 %install
 rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/nodejs-microtime.git/commitdiff/12dbb4d6f304294f23e1fdef70fe7f1fed1a15f4
    
    
More information about the pld-cvs-commit
mailing list