2013-05-29 03:23:27 +00:00
|
|
|
#!/bin/sh
|
2016-09-08 12:45:11 +00:00
|
|
|
|
2016-09-09 12:16:32 +00:00
|
|
|
version=$(rpm -q --specfile --qf='%{version}\n' nodejs.spec | head -n1)
|
2019-04-30 12:51:56 +00:00
|
|
|
rm -f node-v${version}.tar.gz node-v${version}-stripped.tar.gz
|
2016-09-09 12:16:32 +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
|
2016-09-09 12:16:32 +00:00
|
|
|
rm -rf node-v${version}/deps/openssl
|
|
|
|
tar -zcf node-v${version}-stripped.tar.gz node-v${version}
|
2018-03-22 00:35:22 +00:00
|
|
|
|
2018-05-25 12:03:40 +00:00
|
|
|
fedpkg new-sources node-v${version}-stripped.tar.gz
|
2019-04-30 12:51:56 +00:00
|
|
|
|
|
|
|
rm -f node-v${version}.tar.gz
|