mirror of
https://src.fedoraproject.org/rpms/nodejs18.git
synced 2024-11-24 17:44:23 +00:00
Update to latest stable release 6.2.2
This commit is contained in:
parent
13b34f8544
commit
a51d9b439e
3 changed files with 11 additions and 3 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -48,3 +48,4 @@
|
||||||
/node-v6.1.0-stripped.tar.gz
|
/node-v6.1.0-stripped.tar.gz
|
||||||
/node-v6.2.0-stripped.tar.gz
|
/node-v6.2.0-stripped.tar.gz
|
||||||
/node-v6.2.1-stripped.tar.gz
|
/node-v6.2.1-stripped.tar.gz
|
||||||
|
/node-v6.2.2-stripped.tar.gz
|
||||||
|
|
11
nodejs.spec
11
nodejs.spec
|
@ -13,7 +13,7 @@
|
||||||
# than a Fedora release lifecycle.
|
# than a Fedora release lifecycle.
|
||||||
%global nodejs_major 6
|
%global nodejs_major 6
|
||||||
%global nodejs_minor 2
|
%global nodejs_minor 2
|
||||||
%global nodejs_patch 1
|
%global nodejs_patch 2
|
||||||
%global nodejs_abi %{nodejs_major}.%{nodejs_minor}
|
%global nodejs_abi %{nodejs_major}.%{nodejs_minor}
|
||||||
%global nodejs_version %{nodejs_major}.%{nodejs_minor}.%{nodejs_patch}
|
%global nodejs_version %{nodejs_major}.%{nodejs_minor}.%{nodejs_patch}
|
||||||
|
|
||||||
|
@ -49,7 +49,7 @@
|
||||||
# npm - from deps/npm/package.json
|
# npm - from deps/npm/package.json
|
||||||
%global npm_major 3
|
%global npm_major 3
|
||||||
%global npm_minor 9
|
%global npm_minor 9
|
||||||
%global npm_patch 3
|
%global npm_patch 5
|
||||||
%global npm_version %{npm_major}.%{npm_minor}.%{npm_patch}
|
%global npm_version %{npm_major}.%{npm_minor}.%{npm_patch}
|
||||||
|
|
||||||
# Filter out the NPM bundled dependencies so we aren't providing them
|
# 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
|
# Ensure we have punycode and that the version matches
|
||||||
%{buildroot}/%{_bindir}/node -e "require(\"assert\").equal(require(\"punycode\").version, '%{punycode_version}')"
|
%{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
|
%files
|
||||||
%{_bindir}/node
|
%{_bindir}/node
|
||||||
%dir %{_prefix}/lib/node_modules
|
%dir %{_prefix}/lib/node_modules
|
||||||
|
@ -335,6 +338,10 @@ ln -sf %{_pkgdocdir}/npm/html %{buildroot}%{_prefix}/lib/node_modules/npm/doc
|
||||||
%{_pkgdocdir}/npm/doc
|
%{_pkgdocdir}/npm/doc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Jun 18 2016 Tom Hughes <tom@compton.nu> - 1:6.2.2-1
|
||||||
|
- Update to latest stable release 6.2.2
|
||||||
|
- Add check on npm version
|
||||||
|
|
||||||
* Tue Jun 7 2016 Tom Hughes <tom@compton.nu> - 1:6.2.1-1
|
* Tue Jun 7 2016 Tom Hughes <tom@compton.nu> - 1:6.2.1-1
|
||||||
- Update to latest stable release 6.2.1
|
- Update to latest stable release 6.2.1
|
||||||
|
|
||||||
|
|
2
sources
2
sources
|
@ -1 +1 @@
|
||||||
564714a8c2883684bca67c5b13ee9c13 node-v6.2.1-stripped.tar.gz
|
c1821b44925235698f2f61607c945895 node-v6.2.2-stripped.tar.gz
|
||||||
|
|
Loading…
Reference in a new issue