Blame SOURCES/nodejs-tarball.sh

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