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