2013-05-29 03:23:27 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
version=$(rpm -q --specfile --qf='%{version}\n' nodejs.spec | head -n1)
|
2013-06-19 02:49:37 +00:00
|
|
|
wget http://nodejs.org/dist/v${version}/node-v${version}.tar.gz
|
2013-05-29 03:23:27 +00:00
|
|
|
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}
|
2018-03-28 18:22:21 +00:00
|
|
|
|
|
|
|
echo "Now make sure to run:"
|
|
|
|
echo "fedpkg new-sources node-v${version}-stripped.tar.gz"
|