mirror of
https://src.fedoraproject.org/rpms/nodejs18.git
synced 2024-11-24 17:44:23 +00:00
8061633857
https://nodejs.org/en/blog/release/v8.11.0/ Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
10 lines
365 B
Bash
Executable file
10 lines
365 B
Bash
Executable file
#!/bin/sh
|
|
|
|
version=$(rpm -q --specfile --qf='%{version}\n' nodejs.spec | head -n1)
|
|
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}
|
|
|
|
echo "Now make sure to run:"
|
|
echo "fedpkg new-sources node-v${version}-stripped.tar.gz"
|