diff --git a/nodejs.spec b/nodejs.spec index 87b8972..a902dff 100644 --- a/nodejs.spec +++ b/nodejs.spec @@ -60,7 +60,7 @@ Name: nodejs Epoch: 1 Version: %{nodejs_version} -Release: 1%{?dist} +Release: 2%{?dist} Summary: JavaScript runtime License: MIT and ASL 2.0 and ISC and BSD Group: Development/Languages @@ -87,6 +87,11 @@ Patch1: nodejs-disable-gyp-deps.patch # http://patch-tracker.debian.org/patch/series/view/nodejs/0.10.26~dfsg1-1/2014_donotinclude_root_certs.patch Patch2: nodejs-use-system-certs.patch +# build fails at configure when we build it with shared libraries, +# so we need to patch node.gyp too +# this patch might be redundant in another release, since it seems to work with current upstream master +Patch3: nodejs-fix-nodegyp.patch + BuildRequires: python-devel BuildRequires: libuv-devel >= 1.9.0 Requires: libuv >= 1.9.0 @@ -196,6 +201,7 @@ rm -rf deps/uv \ %patch2 -p1 rm -f src/node_root_certs.h +%patch3 -p1 %build # build with debugging symbols and add defines from libuv (#892601) @@ -340,6 +346,9 @@ NODE_PATH=%{buildroot}%{_prefix}/lib/node_modules %{buildroot}/%{_bindir}/node - %{_pkgdocdir}/npm/doc %changelog +* Tue Jul 12 2016 Zuzana Svetlikova - 1:6.3.0-2 +- Patch node.gyp to fix failing ./configure + * Sun Jul 10 2016 Zuzana Svetlikova - 1:6.3.0-1 - Update node to 6.3.0 - update punycode to 2.0.0