Hello community, here is the log from the commit of package nodejs for openSUSE:Factory checked in at 2015-12-29 12:59:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/nodejs (Old) and /work/SRC/openSUSE:Factory/.nodejs.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nodejs" Changes: -------- --- /work/SRC/openSUSE:Factory/nodejs/nodejs.changes 2015-12-23 12:01:50.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.nodejs.new/nodejs.changes 2015-12-29 12:59:31.000000000 +0100 @@ -1,0 +2,21 @@ +Fri Dec 25 14:53:13 UTC 2015 - i...@marguerite.su + +- update version 5.3.0 + * buffer: Buffer.prototype.includes() has been added to keep + parity with TypedArrays + * domains: Fix handling of uncaught exceptions + * https: Added support for disabling session caching + * repl: Allow third party modules to be imported using require() + * deps: Upgrade libuv to 1.8.0 +- as npm was dropped from factory/d:l:nodejs, we rename nodejs-npm + to npm because there's only one npm package existing (there's + another one in 13.2 only, but we can upgrade it smoothly through + newer version we provide +- fix boo#948045 again: Nodejs 4.0 rpm does not install addon-rpm.gypi + * I copied codes from old specfile, which installed nodejs modules + into /usr/share/node, while I splitted that directory into devel + package. so common.gypi and addon-rpm.gypi were not in npm package + at all! +- nodejs >= 5.2.0 needs binutils-gold to build (github issue #4212) + +------------------------------------------------------------------- Old: ---- node-v4.2.3.tar.xz New: ---- node-v5.3.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ nodejs.spec ++++++ --- /var/tmp/diff_new_pack.3wJGwt/_old 2015-12-29 12:59:33.000000000 +0100 +++ /var/tmp/diff_new_pack.3wJGwt/_new 2015-12-29 12:59:33.000000000 +0100 @@ -17,7 +17,7 @@ Name: nodejs -Version: 4.2.3 +Version: 5.3.0 Release: 0 Summary: Evented I/O for V8 JavaScript License: MIT @@ -29,6 +29,7 @@ Patch6: nodejs-libpath.patch # PATCH-FIX-UPSTREAM use custom addon.gypi by default instead of downloading node source Patch7: node-gyp-addon-gypi.patch +BuildRequires: binutils-gold BuildRequires: curl BuildRequires: fdupes BuildRequires: gcc-c++ @@ -42,11 +43,11 @@ BuildRequires: python BuildRequires: xz BuildRequires: zlib-devel -Recommends: nodejs-npm = %{version} +Recommends: npm = %{version} #we need ABI virtual provides where SONAMEs aren't enough/not present so deps #break when binary compatibility is broken -%global nodejs_abi 4.0 +%global nodejs_abi 5.0 Provides: nodejs(abi) = %{nodejs_abi} #this corresponds to the "engine" requirement in package.json @@ -81,17 +82,17 @@ %description docs The API documentation for the Node.js JavaScript runtime. -%package npm -Summary: Package manager for Node.js (Bundled) +%package -n npm +Summary: Package manager for Node.js Group: Development/Languages/NodeJS Requires: %{name} = %{version} -Provides: npm = 2.14.7 -Obsoletes: npm < 2.14.7 -Provides: npm(npm) = 2.14.7 +Provides: nodejs-npm = 3.3.12 +Obsoletes: nodejs-npm <= 2.14.7 +Provides: npm(npm) = 3.3.12 Conflicts: otherproviders(npm(npm)) -%description npm -A package manager for Node.js, bundled in nodejs. +%description -n npm +A package manager for Node.js. %prep %setup -q -n node-v%{version} @@ -154,11 +155,13 @@ install -m 644 deps/npm/man/man1/npm.1 %{buildroot}%{_mandir}/man1 #node-gyp needs common.gypi too -mkdir -p %{buildroot}%{_datadir}/node -install -m 644 common.gypi %{buildroot}%{_datadir}/node +mkdir -p %{buildroot}%{_libdir}/node_modules/npm/node_modules/node-gyp/ +install -m 644 common.gypi \ + %{buildroot}%{_libdir}/node_modules/npm/node_modules/node-gyp/ # install addon-rpm.gypi -install -m 644 addon-rpm.gypi %{buildroot}%{_datadir}/node +install -m 644 addon-rpm.gypi \ + %{buildroot}%{_libdir}/node_modules/npm/node_modules/node-gyp/ # Documentation install -d %{buildroot}%{_docdir}/%{name} @@ -202,7 +205,7 @@ %exclude %{_libdir}/node_modules/npm %exclude %{_docdir}/%{name}/api -%files npm +%files -n npm %defattr(-, root, root) %{_bindir}/npm %dir %{_libdir}/node_modules @@ -212,7 +215,6 @@ %files devel %defattr(-, root, root) %{_includedir}/node -%{_datadir}/node %dir %{_datadir}/systemtap %dir %{_datadir}/systemtap/tapset %{_datadir}/systemtap/tapset/node.stp ++++++ node-v4.2.3.tar.xz -> node-v5.3.0.tar.xz ++++++ /work/SRC/openSUSE:Factory/nodejs/node-v4.2.3.tar.xz /work/SRC/openSUSE:Factory/.nodejs.new/node-v5.3.0.tar.xz differ: char 25, line 1