nodejs/SOURCES/nodejs-tarball.sh
2021-10-08 14:05:37 +00:00

11 lines
360 B
Bash
Executable File

#!/bin/sh
version=$(rpm -q --specfile --qf='%{version}\n' nodejs.spec | head -n1)
rm -f node-v${version}.tar.gz
wget http://nodejs.org/dist/v${version}/node-v${version}.tar.gz
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}
#fedpkg new-sources node-v${version}-stripped.tar.gz