nodejs22/nodejs-tarball.sh
Stephen Gallagher a790dbdf3d
Update to 6.14.0
https://nodejs.org/en/blog/release/v6.14.0/

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2018-03-28 14:22:41 -04:00

11 lines
365 B
Bash
Executable File

#!/bin/sh
version=$(rpm -q --specfile --qf='%{version}\n' nodejs.spec | head -n1)
wget http://nodejs.org/dist/v${version}/node-v${version}.tar.gz
tar -zxf node-v${version}.tar.gz
rm -rf node-v${version}/deps/openssl
tar -zcf node-v${version}-stripped.tar.gz node-v${version}
echo "Now make sure to run:"
echo "fedpkg new-sources node-v${version}-stripped.tar.gz"