this ensures we catch when abi (soname) changes
--- /dev/null
+--- nodejs-gyp-0.9.5/addon.gypi~ 2013-03-09 01:42:19.000000000 +0200
++++ nodejs-gyp-0.9.5/addon.gypi 2013-04-08 20:07:37.237603565 +0300
+@@ -39,6 +39,9 @@
+ }],
+ [ 'OS=="freebsd" or OS=="openbsd" or OS=="solaris" or (OS=="linux" and target_arch!="ia32")', {
+ 'cflags': [ '-fPIC' ],
++ }],
++ [ '1==1', {
++ 'libraries': [ '-lnode' ],
+ }]
+ ]
+ }
Summary: Node.js native addon build tool
Name: nodejs-gyp
Version: 0.9.5
-Release: 1
+Release: 2
License: MIT
Group: Development/Libraries
URL: https://github.com/TooTallNate/node-gyp
# Source0-md5: 3d8a5cf4b5b92457af68035bb0e0e96f
Patch0: jobs-alias.patch
Patch1: system-gyp.patch
+Patch2: link-libnode.patch
BuildRequires: sed >= 4.0
Requires: gyp
Requires: make
mv package/* .
%patch0 -p1
%patch1 -p1
+%patch2 -p1
# fix shebangs
%{__sed} -i -e '1s,^#!.*node,#!/usr/bin/node,' \