From a51d9b439e0995876196f2ba55dcca4cf4ed7892 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sat, 18 Jun 2016 10:26:18 +0100 Subject: [PATCH] Update to latest stable release 6.2.2 --- .gitignore | 1 + nodejs.spec | 11 +++++++++-- sources | 2 +- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 53a73a8..e7d7fce 100644 --- a/.gitignore +++ b/.gitignore @@ -48,3 +48,4 @@ /node-v6.1.0-stripped.tar.gz /node-v6.2.0-stripped.tar.gz /node-v6.2.1-stripped.tar.gz +/node-v6.2.2-stripped.tar.gz diff --git a/nodejs.spec b/nodejs.spec index 05532d4..8071e4e 100644 --- a/nodejs.spec +++ b/nodejs.spec @@ -13,7 +13,7 @@ # than a Fedora release lifecycle. %global nodejs_major 6 %global nodejs_minor 2 -%global nodejs_patch 1 +%global nodejs_patch 2 %global nodejs_abi %{nodejs_major}.%{nodejs_minor} %global nodejs_version %{nodejs_major}.%{nodejs_minor}.%{nodejs_patch} @@ -49,7 +49,7 @@ # npm - from deps/npm/package.json %global npm_major 3 %global npm_minor 9 -%global npm_patch 3 +%global npm_patch 5 %global npm_version %{npm_major}.%{npm_minor}.%{npm_patch} # Filter out the NPM bundled dependencies so we aren't providing them @@ -301,6 +301,9 @@ ln -sf %{_pkgdocdir}/npm/html %{buildroot}%{_prefix}/lib/node_modules/npm/doc # Ensure we have punycode and that the version matches %{buildroot}/%{_bindir}/node -e "require(\"assert\").equal(require(\"punycode\").version, '%{punycode_version}')" +# Ensure we have npm and that the version matches +NODE_PATH=%{buildroot}%{_prefix}/lib/node_modules %{buildroot}/%{_bindir}/node -e "require(\"assert\").equal(require(\"npm\").version, '%{npm_version}')" + %files %{_bindir}/node %dir %{_prefix}/lib/node_modules @@ -335,6 +338,10 @@ ln -sf %{_pkgdocdir}/npm/html %{buildroot}%{_prefix}/lib/node_modules/npm/doc %{_pkgdocdir}/npm/doc %changelog +* Sat Jun 18 2016 Tom Hughes - 1:6.2.2-1 +- Update to latest stable release 6.2.2 +- Add check on npm version + * Tue Jun 7 2016 Tom Hughes - 1:6.2.1-1 - Update to latest stable release 6.2.1 diff --git a/sources b/sources index 16d1626..c5b8b0e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -564714a8c2883684bca67c5b13ee9c13 node-v6.2.1-stripped.tar.gz +c1821b44925235698f2f61607c945895 node-v6.2.2-stripped.tar.gz