Browse Source

nodejs update to v8.15.1 and change path for tarbal

Signed-off-by: webbuilder_pel7x64builder0 <webbuilder@powerel.org>
master
webbuilder_pel7x64builder0 6 years ago
parent
commit
18eaa47dca
  1. 2
      SOURCES/nodejs-tarball.sh
  2. 4
      SPECS/nodejs.spec

2
SOURCES/nodejs-tarball.sh

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh


version=$(rpm -q --specfile --qf='%{version}\n' nodejs.spec | head -n1) version=$(rpm -q --specfile --qf='%{version}\n' SPECS/nodejs.spec | head -n1)
wget http://nodejs.org/dist/v${version}/node-v${version}.tar.gz wget http://nodejs.org/dist/v${version}/node-v${version}.tar.gz
tar -zxf node-v${version}.tar.gz tar -zxf node-v${version}.tar.gz
rm -rf node-v${version}/deps/openssl rm -rf node-v${version}/deps/openssl

4
SPECS/nodejs.spec

@ -31,8 +31,8 @@
# than a Fedora release lifecycle. # than a Fedora release lifecycle.
%global nodejs_epoch 1 %global nodejs_epoch 1
%global nodejs_major 8 %global nodejs_major 8
%global nodejs_minor 9 %global nodejs_minor 15
%global nodejs_patch 4 %global nodejs_patch 1
%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}
%global nodejs_release 2 %global nodejs_release 2

Loading…
Cancel
Save