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