nodejs/nodejs-tarball.sh
Stephen Gallagher a724e42805
Update to 12.1.0
https://nodejs.org/en/blog/release/v12.1.0/

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2019-04-30 08:52:10 -04:00

12 lines
423 B
Bash
Executable file

#!/bin/sh
version=$(rpm -q --specfile --qf='%{version}\n' nodejs.spec | head -n1)
rm -f node-v${version}.tar.gz node-v${version}-stripped.tar.gz
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}
fedpkg new-sources node-v${version}-stripped.tar.gz
rm -f node-v${version}.tar.gz