|
|
@ -1,4 +1,5 @@ |
|
|
|
%define _smp_mflags -j16 |
|
|
|
%global optflags %(echo %{optflags} | sed 's/-mdirect-move//') |
|
|
|
|
|
|
|
%define _smp_mflags -j32 |
|
|
|
|
|
|
|
|
|
|
|
# bundle dependencies that are not available as Fedora modules |
|
|
|
# bundle dependencies that are not available as Fedora modules |
|
|
|
%bcond_with bootstrap |
|
|
|
%bcond_with bootstrap |
|
|
@ -7,7 +8,7 @@ |
|
|
|
%define _lto_cflags %{nil} |
|
|
|
%define _lto_cflags %{nil} |
|
|
|
|
|
|
|
|
|
|
|
# == Master Relase == |
|
|
|
# == Master Relase == |
|
|
|
# This is used by both the nodejs package and the npm subpackage thar |
|
|
|
# This is used by both the nodejs package and the npm subpackage that |
|
|
|
# has a separate version - the name is special so that rpmdev-bumpspec |
|
|
|
# has a separate version - the name is special so that rpmdev-bumpspec |
|
|
|
# will bump this rather than adding .1 to the end. |
|
|
|
# will bump this rather than adding .1 to the end. |
|
|
|
%global baserelease 1 |
|
|
|
%global baserelease 1 |
|
|
@ -20,12 +21,12 @@ |
|
|
|
# feature releases that are only supported for nine months, which is shorter |
|
|
|
# feature releases that are only supported for nine months, which is shorter |
|
|
|
# than a Fedora release lifecycle. |
|
|
|
# than a Fedora release lifecycle. |
|
|
|
%global nodejs_epoch 1 |
|
|
|
%global nodejs_epoch 1 |
|
|
|
%global nodejs_major 14 |
|
|
|
%global nodejs_major 16 |
|
|
|
%global nodejs_minor 18 |
|
|
|
%global nodejs_minor 13 |
|
|
|
%global nodejs_patch 2 |
|
|
|
%global nodejs_patch 1 |
|
|
|
%global nodejs_abi %{nodejs_major}.%{nodejs_minor} |
|
|
|
%global nodejs_abi %{nodejs_major}.%{nodejs_minor} |
|
|
|
# nodejs_soversion - from NODE_MODULE_VERSION in src/node_version.h |
|
|
|
# nodejs_soversion - from NODE_MODULE_VERSION in src/node_version.h |
|
|
|
%global nodejs_soversion 83 |
|
|
|
%global nodejs_soversion 93 |
|
|
|
%global nodejs_version %{nodejs_major}.%{nodejs_minor}.%{nodejs_patch} |
|
|
|
%global nodejs_version %{nodejs_major}.%{nodejs_minor}.%{nodejs_patch} |
|
|
|
%global nodejs_release %{baserelease} |
|
|
|
%global nodejs_release %{baserelease} |
|
|
|
|
|
|
|
|
|
|
@ -35,25 +36,23 @@ |
|
|
|
# v8 - from deps/v8/include/v8-version.h |
|
|
|
# v8 - from deps/v8/include/v8-version.h |
|
|
|
# Epoch is set to ensure clean upgrades from the old v8 package |
|
|
|
# Epoch is set to ensure clean upgrades from the old v8 package |
|
|
|
%global v8_epoch 2 |
|
|
|
%global v8_epoch 2 |
|
|
|
%global v8_major 8 |
|
|
|
%global v8_major 9 |
|
|
|
%global v8_minor 4 |
|
|
|
%global v8_minor 4 |
|
|
|
%global v8_build 371 |
|
|
|
%global v8_build 146 |
|
|
|
%global v8_patch 23 |
|
|
|
%global v8_patch 24 |
|
|
|
# V8 presently breaks ABI at least every x.y release while never bumping SONAME |
|
|
|
|
|
|
|
%global v8_abi %{v8_major}.%{v8_minor} |
|
|
|
|
|
|
|
%global v8_version %{v8_major}.%{v8_minor}.%{v8_build}.%{v8_patch} |
|
|
|
%global v8_version %{v8_major}.%{v8_minor}.%{v8_build}.%{v8_patch} |
|
|
|
%global v8_release %{nodejs_epoch}.%{nodejs_major}.%{nodejs_minor}.%{nodejs_patch}.%{nodejs_release} |
|
|
|
%global v8_release %{nodejs_epoch}.%{nodejs_major}.%{nodejs_minor}.%{nodejs_patch}.%{nodejs_release} |
|
|
|
|
|
|
|
|
|
|
|
# c-ares - from deps/cares/include/ares_version.h |
|
|
|
# c-ares - from deps/cares/include/ares_version.h |
|
|
|
# https://github.com/nodejs/node/pull/9332 |
|
|
|
# https://github.com/nodejs/node/pull/9332 |
|
|
|
%global c_ares_major 1 |
|
|
|
%global c_ares_major 1 |
|
|
|
%global c_ares_minor 17 |
|
|
|
%global c_ares_minor 18 |
|
|
|
%global c_ares_patch 2 |
|
|
|
%global c_ares_patch 1 |
|
|
|
%global c_ares_version %{c_ares_major}.%{c_ares_minor}.%{c_ares_patch} |
|
|
|
%global c_ares_version %{c_ares_major}.%{c_ares_minor}.%{c_ares_patch} |
|
|
|
|
|
|
|
|
|
|
|
# llhttp - from deps/llhttp/include/llhttp.h |
|
|
|
# llhttp - from deps/llhttp/include/llhttp.h |
|
|
|
%global llhttp_major 2 |
|
|
|
%global llhttp_major 6 |
|
|
|
%global llhttp_minor 1 |
|
|
|
%global llhttp_minor 0 |
|
|
|
%global llhttp_patch 4 |
|
|
|
%global llhttp_patch 4 |
|
|
|
%global llhttp_version %{llhttp_major}.%{llhttp_minor}.%{llhttp_patch} |
|
|
|
%global llhttp_version %{llhttp_major}.%{llhttp_minor}.%{llhttp_patch} |
|
|
|
|
|
|
|
|
|
|
@ -65,8 +64,8 @@ |
|
|
|
|
|
|
|
|
|
|
|
# nghttp2 - from deps/nghttp2/lib/includes/nghttp2/nghttp2ver.h |
|
|
|
# nghttp2 - from deps/nghttp2/lib/includes/nghttp2/nghttp2ver.h |
|
|
|
%global nghttp2_major 1 |
|
|
|
%global nghttp2_major 1 |
|
|
|
%global nghttp2_minor 42 |
|
|
|
%global nghttp2_minor 45 |
|
|
|
%global nghttp2_patch 0 |
|
|
|
%global nghttp2_patch 1 |
|
|
|
%global nghttp2_version %{nghttp2_major}.%{nghttp2_minor}.%{nghttp2_patch} |
|
|
|
%global nghttp2_version %{nghttp2_major}.%{nghttp2_minor}.%{nghttp2_patch} |
|
|
|
|
|
|
|
|
|
|
|
# ICU - from tools/icu/current_ver.dep |
|
|
|
# ICU - from tools/icu/current_ver.dep |
|
|
@ -92,11 +91,17 @@ |
|
|
|
|
|
|
|
|
|
|
|
# npm - from deps/npm/package.json |
|
|
|
# npm - from deps/npm/package.json |
|
|
|
%global npm_epoch 1 |
|
|
|
%global npm_epoch 1 |
|
|
|
%global npm_major 6 |
|
|
|
%global npm_major 8 |
|
|
|
%global npm_minor 14 |
|
|
|
%global npm_minor 1 |
|
|
|
%global npm_patch 15 |
|
|
|
%global npm_patch 2 |
|
|
|
%global npm_version %{npm_major}.%{npm_minor}.%{npm_patch} |
|
|
|
%global npm_version %{npm_major}.%{npm_minor}.%{npm_patch} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# In order to avoid needing to keep incrementing the release version for the |
|
|
|
|
|
|
|
# main package forever, we will just construct one for npm that is guaranteed |
|
|
|
|
|
|
|
# to increment safely. Changing this can only be done during an update when the |
|
|
|
|
|
|
|
# base npm version number is increasing. |
|
|
|
|
|
|
|
%global npm_release %{nodejs_epoch}.%{nodejs_major}.%{nodejs_minor}.%{nodejs_patch}.%{nodejs_release} |
|
|
|
|
|
|
|
|
|
|
|
# uvwasi - from deps/uvwasi/include/uvwasi.h |
|
|
|
# uvwasi - from deps/uvwasi/include/uvwasi.h |
|
|
|
%global uvwasi_major 0 |
|
|
|
%global uvwasi_major 0 |
|
|
|
%global uvwasi_minor 0 |
|
|
|
%global uvwasi_minor 0 |
|
|
@ -109,12 +114,8 @@ |
|
|
|
%global histogram_patch 7 |
|
|
|
%global histogram_patch 7 |
|
|
|
%global histogram_version %{histogram_major}.%{histogram_minor}.%{histogram_patch} |
|
|
|
%global histogram_version %{histogram_major}.%{histogram_minor}.%{histogram_patch} |
|
|
|
|
|
|
|
|
|
|
|
# In order to avoid needing to keep incrementing the release version for the |
|
|
|
# Node.js 16.9.1 and later comes with an experimental package management tool |
|
|
|
# main package forever, we will just construct one for npm that is guaranteed |
|
|
|
%global corepack_version 0.10.0 |
|
|
|
# to increment safely. Changing this can only be done during an update when the |
|
|
|
|
|
|
|
# base npm version number is increasing. |
|
|
|
|
|
|
|
%global npm_release %{nodejs_epoch}.%{nodejs_major}.%{nodejs_minor}.%{nodejs_patch}.%{nodejs_release} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: nodejs |
|
|
|
Name: nodejs |
|
|
|
Epoch: %{nodejs_epoch} |
|
|
|
Epoch: %{nodejs_epoch} |
|
|
@ -130,7 +131,9 @@ ExclusiveArch: %{nodejs_arches} |
|
|
|
# nodejs bundles openssl, but we use the system version in Fedora |
|
|
|
# nodejs bundles openssl, but we use the system version in Fedora |
|
|
|
# because openssl contains prohibited code, we remove openssl completely from |
|
|
|
# because openssl contains prohibited code, we remove openssl completely from |
|
|
|
# the tarball, using the script in Source100 |
|
|
|
# the tarball, using the script in Source100 |
|
|
|
Source0: node-v%{nodejs_version}.tar.gz |
|
|
|
#Source0: node-v%{nodejs_version}-stripped.tar.gz |
|
|
|
|
|
|
|
#Source0: https://nodejs.org/dist/v%{nodejs_major}-%{nodejs_minor}-%{nodejs_patch}/node-v%{nodejs_major}-%{nodejs_minor}-%{nodejs_patch}.tar.gz |
|
|
|
|
|
|
|
Source0: https://nodejs.org/dist/v%{nodejs_version}/node-v%{nodejs_version}.tar.gz |
|
|
|
Source1: npmrc |
|
|
|
Source1: npmrc |
|
|
|
#Source2: btest402.js |
|
|
|
#Source2: btest402.js |
|
|
|
Source3: https://github.com/unicode-org/icu/releases/download/release-%{icu_major}-%{icu_minor}/icu4c-%{icu_major}_%{icu_minor}-src.tgz |
|
|
|
Source3: https://github.com/unicode-org/icu/releases/download/release-%{icu_major}-%{icu_minor}/icu4c-%{icu_major}_%{icu_minor}-src.tgz |
|
|
@ -156,6 +159,7 @@ BuildRequires: zlib-devel |
|
|
|
BuildRequires: brotli-devel |
|
|
|
BuildRequires: brotli-devel |
|
|
|
BuildRequires: gcc >= 6.3.0 |
|
|
|
BuildRequires: gcc >= 6.3.0 |
|
|
|
BuildRequires: gcc-c++ >= 6.3.0 |
|
|
|
BuildRequires: gcc-c++ >= 6.3.0 |
|
|
|
|
|
|
|
BuildRequires: jq |
|
|
|
# needed to generate bundled provides for npm dependencies |
|
|
|
# needed to generate bundled provides for npm dependencies |
|
|
|
# https://src.fedoraproject.org/rpms/nodejs/pull-request/2 |
|
|
|
# https://src.fedoraproject.org/rpms/nodejs/pull-request/2 |
|
|
|
# https://pagure.io/nodejs-packaging/pull-request/10 |
|
|
|
# https://pagure.io/nodejs-packaging/pull-request/10 |
|
|
@ -170,16 +174,22 @@ Provides: bundled(nghttp2) = %{nghttp2_version} |
|
|
|
#%else |
|
|
|
#%else |
|
|
|
#BuildRequires: libuv-devel >= 1:%{libuv_version} |
|
|
|
#BuildRequires: libuv-devel >= 1:%{libuv_version} |
|
|
|
#Requires: libuv >= 1:%{libuv_version} |
|
|
|
#Requires: libuv >= 1:%{libuv_version} |
|
|
|
|
|
|
|
#%if 0%{?fedora} || 0%{?rhel} >= 9 |
|
|
|
#BuildRequires: libnghttp2-devel >= %{nghttp2_version} |
|
|
|
#BuildRequires: libnghttp2-devel >= %{nghttp2_version} |
|
|
|
#Requires: libnghttp2 >= %{nghttp2_version} |
|
|
|
#Requires: libnghttp2 >= %{nghttp2_version} |
|
|
|
|
|
|
|
#%define nghttp2_configure --shared-nghttp2 |
|
|
|
|
|
|
|
#%else |
|
|
|
|
|
|
|
#%define nghttp2_configure %{nil} |
|
|
|
|
|
|
|
#Provides: bundled(nghttp2) = %{nghttp2_version} |
|
|
|
|
|
|
|
#%endif |
|
|
|
#%endif |
|
|
|
#%endif |
|
|
|
|
|
|
|
|
|
|
|
# Temporarily bundle llhttp because the upstream doesn't |
|
|
|
# Temporarily bundle llhttp because the upstream doesn't |
|
|
|
# provide releases for it. |
|
|
|
# provide releases for it. |
|
|
|
Provides: bundled(llhttp) = %{llhttp_version} |
|
|
|
Provides: bundled(llhttp) = %{llhttp_version} |
|
|
|
|
|
|
|
|
|
|
|
#BuildRequires: openssl1.1-devel >= %{openssl_minimum} |
|
|
|
BuildRequires: openssl-devel >= %{openssl_minimum} |
|
|
|
#Requires: openssl1.1 >= %{openssl_minimum} |
|
|
|
Requires: openssl >= %{openssl_minimum} |
|
|
|
|
|
|
|
|
|
|
|
# we need the system certificate store |
|
|
|
# we need the system certificate store |
|
|
|
Requires: ca-certificates |
|
|
|
Requires: ca-certificates |
|
|
@ -193,8 +203,6 @@ Requires: nodejs-libs%{?_isa} = %{nodejs_epoch}:%{version}-%{release} |
|
|
|
# break when binary compatibility is broken |
|
|
|
# break when binary compatibility is broken |
|
|
|
Provides: nodejs(abi) = %{nodejs_abi} |
|
|
|
Provides: nodejs(abi) = %{nodejs_abi} |
|
|
|
Provides: nodejs(abi%{nodejs_major}) = %{nodejs_abi} |
|
|
|
Provides: nodejs(abi%{nodejs_major}) = %{nodejs_abi} |
|
|
|
Provides: nodejs(v8-abi) = %{v8_abi} |
|
|
|
|
|
|
|
Provides: nodejs(v8-abi%{v8_major}) = %{v8_abi} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# this corresponds to the "engine" requirement in package.json |
|
|
|
# this corresponds to the "engine" requirement in package.json |
|
|
|
Provides: nodejs(engine) = %{nodejs_version} |
|
|
|
Provides: nodejs(engine) = %{nodejs_version} |
|
|
@ -237,6 +245,7 @@ Provides: bundled(icu) = %{icu_version} |
|
|
|
# or there's no option to built it as a shared dependency, so we bundle them |
|
|
|
# or there's no option to built it as a shared dependency, so we bundle them |
|
|
|
Provides: bundled(uvwasi) = %{uvwasi_version} |
|
|
|
Provides: bundled(uvwasi) = %{uvwasi_version} |
|
|
|
Provides: bundled(histogram) = %{histogram_version} |
|
|
|
Provides: bundled(histogram) = %{histogram_version} |
|
|
|
|
|
|
|
Provides: bundled(corepack) = %{corepack_version} |
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?fedora} |
|
|
|
%if 0%{?fedora} |
|
|
|
# Make sure to pull in the appropriate packaging macros when building RPMs |
|
|
|
# Make sure to pull in the appropriate packaging macros when building RPMs |
|
|
@ -264,7 +273,7 @@ Requires: brotli-devel%{?_isa} |
|
|
|
Requires: nodejs-packaging |
|
|
|
Requires: nodejs-packaging |
|
|
|
|
|
|
|
|
|
|
|
#%if %{with bootstrap} |
|
|
|
#%if %{with bootstrap} |
|
|
|
## deps are bundled |
|
|
|
# deps are bundled |
|
|
|
#%else |
|
|
|
#%else |
|
|
|
#Requires: libuv-devel%{?_isa} |
|
|
|
#Requires: libuv-devel%{?_isa} |
|
|
|
#%endif |
|
|
|
#%endif |
|
|
@ -400,7 +409,7 @@ export CXXFLAGS="$(echo ${CXXFLAGS} | tr '\n\\' ' ')" |
|
|
|
|
|
|
|
|
|
|
|
### ### ### export LDFLAGS="%{build_ldflags}" |
|
|
|
### ### ### export LDFLAGS="%{build_ldflags}" |
|
|
|
|
|
|
|
|
|
|
|
source /opt/rh/devtoolset-7/enable |
|
|
|
source /opt/rh/devtoolset-10/enable |
|
|
|
|
|
|
|
|
|
|
|
%if %{with bootstrap} |
|
|
|
%if %{with bootstrap} |
|
|
|
%{__python3} configure.py --prefix=%{_prefix} \ |
|
|
|
%{__python3} configure.py --prefix=%{_prefix} \ |
|
|
@ -419,11 +428,9 @@ source /opt/rh/devtoolset-7/enable |
|
|
|
--with-dtrace \ |
|
|
|
--with-dtrace \ |
|
|
|
--with-intl=small-icu \ |
|
|
|
--with-intl=small-icu \ |
|
|
|
--with-icu-default-data-dir=%{icudatadir} \ |
|
|
|
--with-icu-default-data-dir=%{icudatadir} \ |
|
|
|
--openssl-use-def-ca-store \ |
|
|
|
|
|
|
|
--enable-lto |
|
|
|
|
|
|
|
%endif |
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
|
|
make BUILDTYPE=Release %{?_smp_mflags} |
|
|
|
%make_build BUILDTYPE=Release |
|
|
|
|
|
|
|
|
|
|
|
# Extract the ICU data and convert it to the appropriate endianness |
|
|
|
# Extract the ICU data and convert it to the appropriate endianness |
|
|
|
pushd deps/ |
|
|
|
pushd deps/ |
|
|
@ -487,7 +494,6 @@ install -Dpm0644 %{SOURCE7} %{buildroot}%{_rpmconfigdir}/fileattrs/nodejs_native |
|
|
|
cat << EOF > %{buildroot}%{_rpmconfigdir}/nodejs_native.req |
|
|
|
cat << EOF > %{buildroot}%{_rpmconfigdir}/nodejs_native.req |
|
|
|
#!/bin/sh |
|
|
|
#!/bin/sh |
|
|
|
echo 'nodejs(abi%{nodejs_major}) >= %nodejs_abi' |
|
|
|
echo 'nodejs(abi%{nodejs_major}) >= %nodejs_abi' |
|
|
|
echo 'nodejs(v8-abi%{v8_major}) >= %v8_abi' |
|
|
|
|
|
|
|
EOF |
|
|
|
EOF |
|
|
|
chmod 0755 %{buildroot}%{_rpmconfigdir}/nodejs_native.req |
|
|
|
chmod 0755 %{buildroot}%{_rpmconfigdir}/nodejs_native.req |
|
|
|
|
|
|
|
|
|
|
@ -532,9 +538,14 @@ find %{buildroot}%{_prefix}/lib/node_modules/npm \ |
|
|
|
-exec chmod -x {} \; |
|
|
|
-exec chmod -x {} \; |
|
|
|
|
|
|
|
|
|
|
|
# The above command is a little overzealous. Add a few permissions back. |
|
|
|
# The above command is a little overzealous. Add a few permissions back. |
|
|
|
chmod 0755 %{buildroot}%{_prefix}/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin/node-gyp |
|
|
|
chmod 0755 %{buildroot}%{_prefix}/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin/node-gyp |
|
|
|
chmod 0755 %{buildroot}%{_prefix}/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js |
|
|
|
chmod 0755 %{buildroot}%{_prefix}/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Corepack contains a number of executable"shims", including some for Windows |
|
|
|
|
|
|
|
# PowerShell. Drop the executable bit for those so we don't pick up an |
|
|
|
|
|
|
|
# automatic dependency on /usr/bin/pwsh that we cannot satisfy. |
|
|
|
|
|
|
|
chmod -x %{buildroot}%{_prefix}/lib/node_modules/corepack/shims/*.ps1 |
|
|
|
|
|
|
|
|
|
|
|
# Drop the NPM default configuration in place |
|
|
|
# Drop the NPM default configuration in place |
|
|
|
mkdir -p %{buildroot}%{_sysconfdir} |
|
|
|
mkdir -p %{buildroot}%{_sysconfdir} |
|
|
|
cp %{SOURCE1} %{buildroot}%{_sysconfdir}/npmrc |
|
|
|
cp %{SOURCE1} %{buildroot}%{_sysconfdir}/npmrc |
|
|
@ -558,7 +569,7 @@ LD_LIBRARY_PATH=%{buildroot}%{_libdir} %{buildroot}/%{_bindir}/node -e "require( |
|
|
|
LD_LIBRARY_PATH=%{buildroot}%{_libdir} %{buildroot}/%{_bindir}/node -e "require(\"assert\").equal(require(\"punycode\").version, '%{punycode_version}')" |
|
|
|
LD_LIBRARY_PATH=%{buildroot}%{_libdir} %{buildroot}/%{_bindir}/node -e "require(\"assert\").equal(require(\"punycode\").version, '%{punycode_version}')" |
|
|
|
|
|
|
|
|
|
|
|
# Ensure we have npm and that the version matches |
|
|
|
# Ensure we have npm and that the version matches |
|
|
|
NODE_PATH=%{buildroot}%{_prefix}/lib/node_modules:%{buildroot}%{_prefix}/lib/node_modules/npm/node_modules LD_LIBRARY_PATH=%{buildroot}%{_libdir} %{buildroot}/%{_bindir}/node -e "require(\"assert\").equal(require(\"npm\").version, '%{npm_version}')" |
|
|
|
LD_LIBRARY_PATH=%{buildroot}%{_libdir} %{buildroot}/%{_bindir}/npm version --json |jq '. | select(.npm | contains("7.24.0"))' |
|
|
|
|
|
|
|
|
|
|
|
# Make sure i18n support is working |
|
|
|
# Make sure i18n support is working |
|
|
|
NODE_PATH=%{buildroot}%{_prefix}/lib/node_modules:%{buildroot}%{_prefix}/lib/node_modules/npm/node_modules LD_LIBRARY_PATH=%{buildroot}%{_libdir} %{buildroot}/%{_bindir}/node --icu-data-dir=%{buildroot}%{icudatadir} %{SOURCE2} |
|
|
|
NODE_PATH=%{buildroot}%{_prefix}/lib/node_modules:%{buildroot}%{_prefix}/lib/node_modules/npm/node_modules LD_LIBRARY_PATH=%{buildroot}%{_libdir} %{buildroot}/%{_bindir}/node --icu-data-dir=%{buildroot}%{icudatadir} %{SOURCE2} |
|
|
@ -590,6 +601,10 @@ end |
|
|
|
%dir %{_datadir}/systemtap/tapset |
|
|
|
%dir %{_datadir}/systemtap/tapset |
|
|
|
%{_datadir}/systemtap/tapset/node.stp |
|
|
|
%{_datadir}/systemtap/tapset/node.stp |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# corepack |
|
|
|
|
|
|
|
%{_bindir}/corepack |
|
|
|
|
|
|
|
%{_prefix}/lib/node_modules/corepack |
|
|
|
|
|
|
|
|
|
|
|
%if %{with bootstrap} |
|
|
|
%if %{with bootstrap} |
|
|
|
# no dtrace |
|
|
|
# no dtrace |
|
|
|
%else |
|
|
|
%else |
|
|
@ -645,19 +660,17 @@ end |
|
|
|
%doc %{_mandir}/man5/folders.5* |
|
|
|
%doc %{_mandir}/man5/folders.5* |
|
|
|
%doc %{_mandir}/man5/install.5* |
|
|
|
%doc %{_mandir}/man5/install.5* |
|
|
|
%doc %{_mandir}/man5/npmrc.5* |
|
|
|
%doc %{_mandir}/man5/npmrc.5* |
|
|
|
|
|
|
|
%doc %{_mandir}/man5/npm-shrinkwrap-json.5* |
|
|
|
%doc %{_mandir}/man5/package-json.5* |
|
|
|
%doc %{_mandir}/man5/package-json.5* |
|
|
|
%doc %{_mandir}/man5/package-lock-json.5* |
|
|
|
%doc %{_mandir}/man5/package-lock-json.5* |
|
|
|
%doc %{_mandir}/man5/package-locks.5* |
|
|
|
|
|
|
|
%doc %{_mandir}/man5/shrinkwrap-json.5* |
|
|
|
|
|
|
|
%doc %{_mandir}/man7/config.7* |
|
|
|
%doc %{_mandir}/man7/config.7* |
|
|
|
%doc %{_mandir}/man7/developers.7* |
|
|
|
%doc %{_mandir}/man7/developers.7* |
|
|
|
%doc %{_mandir}/man7/disputes.7* |
|
|
|
|
|
|
|
%doc %{_mandir}/man7/orgs.7* |
|
|
|
%doc %{_mandir}/man7/orgs.7* |
|
|
|
%doc %{_mandir}/man7/registry.7* |
|
|
|
%doc %{_mandir}/man7/registry.7* |
|
|
|
%doc %{_mandir}/man7/removal.7* |
|
|
|
%doc %{_mandir}/man7/removal.7* |
|
|
|
%doc %{_mandir}/man7/scope.7* |
|
|
|
%doc %{_mandir}/man7/scope.7* |
|
|
|
%doc %{_mandir}/man7/scripts.7* |
|
|
|
%doc %{_mandir}/man7/scripts.7* |
|
|
|
%doc %{_mandir}/man7/semver.7* |
|
|
|
%doc %{_mandir}/man7/workspaces.7* |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files docs |
|
|
|
%files docs |
|
|
@ -668,118 +681,98 @@ end |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog |
|
|
|
%changelog |
|
|
|
* Thu Oct 14 2021 Stephen Gallagher <sgallagh@redhat.com> - 1:14.18.1-1 |
|
|
|
* Thu Dec 02 2021 Stephen Gallagher <sgallagh@redhat.com> - 1:16.13.1-1 |
|
|
|
- Update to security release 14.18.1 |
|
|
|
- Update to 16.13.1 |
|
|
|
- https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V14.md#14.18.1 |
|
|
|
- https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V16.md#16.13.1 |
|
|
|
|
|
|
|
|
|
|
|
* Tue Sep 28 2021 Stephen Gallagher <sgallagh@redhat.com> - 1:14.18.0-2 |
|
|
|
|
|
|
|
- Guarantee the use of OpenSSL 1.1 |
|
|
|
|
|
|
|
- Fixes module build on Fedora 36 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Sep 28 2021 Stephen Gallagher <sgallagh@redhat.com> - 1:14.18.0-1 |
|
|
|
|
|
|
|
- Update to 14.18.0 |
|
|
|
|
|
|
|
- https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V14.md#14.18.0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Aug 31 2021 Stephen Gallagher <sgallagh@redhat.com> - 1:14.17.6-1 |
|
|
|
|
|
|
|
- Update to 14.17.6 |
|
|
|
|
|
|
|
- https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V14.md#14.17.6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Aug 11 2021 Stephen Gallagher <sgallagh@redhat.com> - 1:14.17.5-1 |
|
|
|
|
|
|
|
- Update to 14.17.5 |
|
|
|
|
|
|
|
- https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V14.md#14.17.5 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Aug 02 2021 Stephen Gallagher <sgallagh@redhat.com> - 1:14.17.4-1 |
|
|
|
|
|
|
|
- Update to 14.17.2 |
|
|
|
|
|
|
|
- https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V14.md#14.17.4 |
|
|
|
|
|
|
|
- https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V14.md#14.17.3 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 02 2021 Stephen Gallagher <sgallagh@redhat.com> - 1:14.17.2-2 |
|
|
|
|
|
|
|
- Build with system version of jinja2 to avoid issues with Python 3.10 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 01 2021 Stephen Gallagher <sgallagh@redhat.com> - 1:14.17.2-1 |
|
|
|
|
|
|
|
- Update to 14.17.2 |
|
|
|
|
|
|
|
- https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V14.md#14.17.2 |
|
|
|
|
|
|
|
- https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V14.md#14.17.1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon May 17 2021 Stephen Gallagher <sgallagh@redhat.com> - 1:14.17.0-2 |
|
|
|
|
|
|
|
- Update to 14.17.0 |
|
|
|
|
|
|
|
- https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V14.md#14.17.0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Apr 20 2021 Stephen Gallagher <sgallagh@redhat.com> - 1:14.16.1-2 |
|
|
|
|
|
|
|
- Disable stack execution (bz#1950528) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Apr 08 2021 Stephen Gallagher <sgallagh@redhat.com> - 1:14.16.1-1 |
|
|
|
|
|
|
|
- Update to 14.16.1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Mar 31 2021 Jonathan Wakely <jwakely@redhat.com> - 1:14.16.0-4 |
|
|
|
* Thu Nov 25 2021 Honza Horak <hhorak@redhat.com> - 1:16.13.0-3 |
|
|
|
- Rebuilt for removed libstdc++ symbols (#1937698) |
|
|
|
- Make sure binary node-gyp is executable |
|
|
|
|
|
|
|
Resolves: #2026615 |
|
|
|
|
|
|
|
|
|
|
|
* Tue Mar 09 2021 Zuzana Svetlikova <zsvetlik@redhat.com - 1:14.16.0-3 |
|
|
|
* Mon Nov 01 2021 Stephen Gallagher <sgallagh@redhat.com> - 1:16.13.0-1 |
|
|
|
- Only require nodejs-packaging on Fedora |
|
|
|
- Update to 16.13.0 |
|
|
|
- remove --debug-nghttp2 (#1930775) |
|
|
|
- https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V16.md#16.13.0 |
|
|
|
- always build with systemtap |
|
|
|
- Add support for epel8 |
|
|
|
|
|
|
|
|
|
|
|
* Mon Jan 04 2021 Stephen Gallagher <sgallagh@redhat.com> - 1:14.16.0-1 |
|
|
|
* Mon Oct 25 2021 Stephen Gallagher <sgallagh@redhat.com> - 1:16.12.0-1 |
|
|
|
- Update to 14.16.0 |
|
|
|
- Update to 16.12.0 |
|
|
|
|
|
|
|
- https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V16.md#16.12.0 |
|
|
|
|
|
|
|
|
|
|
|
* Mon Jan 04 2021 Stephen Gallagher <sgallagh@redhat.com> - 1:14.15.4-1 |
|
|
|
* Wed Oct 13 2021 Stephen Gallagher <sgallagh@redhat.com> - 1:16.11.1-1 |
|
|
|
- Update to 14.15.4 |
|
|
|
- Update to 16.11.1 |
|
|
|
|
|
|
|
- https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V16.md#16.11.0 |
|
|
|
|
|
|
|
- https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V16.md#16.11.1 |
|
|
|
|
|
|
|
|
|
|
|
* Wed Dec 02 2020 Stephen Gallagher <sgallagh@redhat.com> - 1:14.15.1-1 |
|
|
|
* Thu Sep 23 2021 Stephen Gallagher <sgallagh@redhat.com> - 1:16.10.0-1 |
|
|
|
- Update to 14.15.1 |
|
|
|
- Update to 16.10.0 |
|
|
|
|
|
|
|
- https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V16.md#16.10.0 |
|
|
|
|
|
|
|
|
|
|
|
* Tue Oct 20 2020 Stephen Gallagher <sgallagh@redhat.com> - 1:14.14.0-2 |
|
|
|
* Tue Sep 14 2021 Stephen Gallagher <sgallagh@redhat.com> - 1:16.9.1-4 |
|
|
|
- Don't build with LTO on aarch64 |
|
|
|
- Correct the bad merge of corepack fix |
|
|
|
|
|
|
|
|
|
|
|
* Mon Oct 19 2020 Stephen Gallagher <sgallagh@redhat.com> - 1:14.14.0-1 |
|
|
|
* Tue Sep 14 2021 Stephen Gallagher <sgallagh@redhat.com> - 1:16.9.1-3 |
|
|
|
- Update to 14.14.0 |
|
|
|
- Drop auto-dependency on PowerShell introduced by corepack |
|
|
|
|
|
|
|
|
|
|
|
* Fri Oct 09 2020 Stephen Gallagher <sgallagh@redhat.com> - 1:14.13.1-1 |
|
|
|
* Tue Sep 14 2021 Sahana Prasad <sahana@redhat.com> - 1:16.9.1-2 |
|
|
|
- Update to 14.13.1 |
|
|
|
- Rebuilt with OpenSSL 3.0.0 |
|
|
|
|
|
|
|
|
|
|
|
* Thu Oct 01 2020 Stephen Gallagher <sgallagh@redhat.com> - 1:14.13.0-1 |
|
|
|
* Mon Sep 13 2021 Stephen Gallagher <sgallagh@redhat.com> - 1:16.9.1-1 |
|
|
|
- Update to 14.13.0 |
|
|
|
- Update to 16.9.1 |
|
|
|
|
|
|
|
- Add experimental 'corepack' tool |
|
|
|
|
|
|
|
- https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V16.md#16.9.0 |
|
|
|
|
|
|
|
- https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V16.md#16.9.1 |
|
|
|
|
|
|
|
|
|
|
|
* Wed Sep 16 2020 Stephen Gallagher <sgallagh@redhat.com> - 1:14.11.0-1 |
|
|
|
* Tue Aug 31 2021 Stephen Gallagher <sgallagh@redhat.com> - 1:16.8.0-1 |
|
|
|
- Update to 14.11.0 |
|
|
|
- Update to 16.8.0 |
|
|
|
|
|
|
|
- https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V16.md#16.8.0 |
|
|
|
|
|
|
|
- https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V16.md#16.7.0 |
|
|
|
|
|
|
|
|
|
|
|
* Tue Sep 08 2020 Stephen Gallagher <sgallagh@redhat.com> - 1:14.10.0-1 |
|
|
|
* Wed Aug 11 2021 Stephen Gallagher <sgallagh@redhat.com> - 1:16.6.2-1 |
|
|
|
- Update to 14.10.0 |
|
|
|
- Update to 16.6.2 |
|
|
|
|
|
|
|
- https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V16.md#16.6.2 |
|
|
|
|
|
|
|
|
|
|
|
* Fri Aug 21 2020 Jeff Law <law@redhat.com> - 1:14.7.0-2 |
|
|
|
* Tue Aug 03 2021 Stephen Gallagher <sgallagh@redhat.com> - 1:16.6.1-1 |
|
|
|
- Narrow LTO opt-out to just armv7hl |
|
|
|
- Update to 16.6.1 |
|
|
|
|
|
|
|
- https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V16.md#16.6.1 |
|
|
|
|
|
|
|
- Fixes v8 regression introduced in 16.6.0 |
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 31 2020 Stephen Gallagher <sgallagh@redhat.com> - 1:14.7.0-1 |
|
|
|
* Mon Aug 02 2021 Stephen Gallagher <sgallagh@redhat.com> - 1:16.6.0-1 |
|
|
|
- Update to 14.7.0 |
|
|
|
- Update to 16.6.0 |
|
|
|
|
|
|
|
- https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V16.md#16.6.0 |
|
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:14.5.0-2 |
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:16.5.0-2 |
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild |
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild |
|
|
|
|
|
|
|
|
|
|
|
* Tue Jul 07 2020 Stephen Gallagher <sgallagh@redhat.com> - 1:14.5.0-1 |
|
|
|
* Tue Jul 20 2021 Stephen Gallagher <sgallagh@redhat.com> - 1:16.5.0-1 |
|
|
|
- Update to 14.5.0 |
|
|
|
- Update to 16.5.0 |
|
|
|
|
|
|
|
- https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V16.md#16.5.0 |
|
|
|
|
|
|
|
|
|
|
|
* Tue Jul 07 2020 Stephen Gallagher <sgallagh@redhat.com> - 1:14.4.0-3 |
|
|
|
* Fri Jul 02 2021 Stephen Gallagher <sgallagh@redhat.com> - 1:16.4.1-2 |
|
|
|
- Update for new packaging guidelines |
|
|
|
- Re-add support for v8 development headers |
|
|
|
|
|
|
|
|
|
|
|
* Tue Jun 30 2020 Jeff Law <law@redhat.com> - 1:14.4.0-2 |
|
|
|
* Thu Jul 01 2021 Stephen Gallagher <sgallagh@redhat.com> - 1:16.4.1-1 |
|
|
|
- Disable LTO |
|
|
|
- Update to 16.4.1 |
|
|
|
|
|
|
|
- https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V16.md#16.4.1 |
|
|
|
|
|
|
|
|
|
|
|
* Wed Jun 03 2020 Zuzana Svetlikova <zsvetlik@redhat.com> - 1:14.4.0-1 |
|
|
|
* Wed Jun 23 2021 Stephen Gallagher <sgallagh@redhat.com> - 1:16.4.0-1 |
|
|
|
- Security update to 14.4.0 |
|
|
|
- Update to 16.4.0 |
|
|
|
|
|
|
|
- https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V16.md#16.4.0 |
|
|
|
|
|
|
|
|
|
|
|
* Thu May 21 2020 Stephen Gallagher <sgallagh@redhat.com> - 1:14.3.0-1 |
|
|
|
* Fri Jun 04 2021 Stephen Gallagher <sgallagh@redhat.com> - 1:16.3.0-1 |
|
|
|
- Update to 14.3.0 |
|
|
|
- Update to 16.3.0 |
|
|
|
|
|
|
|
- https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V16.md#16.3.0 |
|
|
|
|
|
|
|
|
|
|
|
* Wed May 06 2020 Stephen Gallagher <sgallagh@redhat.com> - 1:14.2.0-1 |
|
|
|
|
|
|
|
- Update to 14.2.0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Apr 29 2020 Stephen Gallagher <sgallagh@redhat.com> - 1:14.1.0-1 |
|
|
|
* Wed May 19 2021 Stephen Gallagher <sgallagh@redhat.com> - 1:16.2.0-1 |
|
|
|
- Update to 14.1.0 |
|
|
|
- Update to 16.2.0 |
|
|
|
|
|
|
|
- https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V16.md#16.2.0 |
|
|
|
|
|
|
|
- Fix changelog version numbers |
|
|
|
|
|
|
|
|
|
|
|
* Fri Apr 24 2020 Zuzana Svetlikova <zsvetlik@redhat.com> - 1:14.0.0-2 |
|
|
|
* Tue May 04 2021 Stephen Gallagher <sgallagh@redhat.com> - 1:16.1.0-1 |
|
|
|
- Keep the fix scripts for Koji |
|
|
|
- Update to 16.1.0 |
|
|
|
|
|
|
|
- https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V16.md#16.1.0 |
|
|
|
|
|
|
|
- Drop upstreamed patch |
|
|
|
|
|
|
|
|
|
|
|
* Thu Apr 23 2020 Zuzana Svetlikova <zsvetlik@redhat.com> - 1:14.0.0-1 |
|
|
|
* Thu Apr 29 2021 Stephen Gallagher <sgallagh@redhat.com> - 1:16.0.0-1 |
|
|
|
- Update to 14.0.0 |
|
|
|
- First release of Node.js 16.x |
|
|
|
- v14.x should be python3 compatible, so commented out py sed scripts |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|