6796d77
# bundle dependencies that are not available as Fedora modules
dd2b006
%bcond_with bootstrap
8add249
87f93eb
%if 0%{?rhel} && 0%{?rhel} < 9
87f93eb
%bcond_without python3_fixup
87f93eb
%else
87f93eb
%bcond_with python3_fixup
87f93eb
%endif
87f93eb
6198b7d
%if 0%{?rhel} && 0%{?rhel} < 8
6198b7d
%bcond_without bundled_zlib
6198b7d
%else
6198b7d
%bcond_with bundled_zlib
6198b7d
%endif
6198b7d
6198b7d
9f1a563
# LTO is currently broken on Node.js builds
a042b79
%define _lto_cflags %{nil}
bb0d4da
497f09b
# Heavy-handed approach to avoiding issues with python
497f09b
# bytecompiling files in the node_modules/ directory
497f09b
%global __python %{__python3}
497f09b
7de2738
# == Master Relase ==
4c556b4
# This is used by both the nodejs package and the npm subpackage that
7de2738
# has a separate version - the name is special so that rpmdev-bumpspec
7de2738
# will bump this rather than adding .1 to the end.
a83c6d5
%global baserelease 5
7de2738
5d0271a
%{?!_pkgdocdir:%global _pkgdocdir %{_docdir}/%{name}-%{version}}
5d0271a
6b9e504
# == Node.js Version ==
8671946
# Note: Fedora should only ship LTS versions of Node.js (currently expected
8671946
# to be major versions with even numbers). The odd-numbered versions are new
8671946
# feature releases that are only supported for nine months, which is shorter
8671946
# than a Fedora release lifecycle.
e14437b
%global nodejs_epoch 1
49aeab9
%global nodejs_major 16
a2ee1cc
%global nodejs_minor 13
97203e0
%global nodejs_patch 2
6b9e504
%global nodejs_abi %{nodejs_major}.%{nodejs_minor}
302af5c
# nodejs_soversion - from NODE_MODULE_VERSION in src/node_version.h
49aeab9
%global nodejs_soversion 93
282860b
%global nodejs_version %{nodejs_major}.%{nodejs_minor}.%{nodejs_patch}
7de2738
%global nodejs_release %{baserelease}
6b9e504
f0e2a1e
%global nodejs_datadir %{_datarootdir}/nodejs
f0e2a1e
6b9e504
# == Bundled Dependency Versions ==
6b9e504
# v8 - from deps/v8/include/v8-version.h
c29f89e
# Epoch is set to ensure clean upgrades from the old v8 package
7cfea04
%global v8_epoch 2
49aeab9
%global v8_major 9
4c556b4
%global v8_minor 4
4c556b4
%global v8_build 146
7a3f77a
%global v8_patch 24
282860b
%global v8_version %{v8_major}.%{v8_minor}.%{v8_build}.%{v8_patch}
7cfea04
%global v8_release %{nodejs_epoch}.%{nodejs_major}.%{nodejs_minor}.%{nodejs_patch}.%{nodejs_release}
6b9e504
6198b7d
# zlib - from deps/zlib/zlib.h
6198b7d
%global zlib_version 1.2.11
6198b7d
6b9e504
# c-ares - from deps/cares/include/ares_version.h
27f006a
# https://github.com/nodejs/node/pull/9332
6198b7d
%global c_ares_version 1.18.1
6b9e504
8c0820b
# llhttp - from deps/llhttp/include/llhttp.h
6198b7d
%global llhttp_version 6.0.4
8c0820b
46cd672
# libuv - from deps/uv/include/uv/version.h
6198b7d
%global libuv_version 1.42.0
6796d77
cbcccf5
# nghttp2 - from deps/nghttp2/lib/includes/nghttp2/nghttp2ver.h
6198b7d
%global nghttp2_version 1.45.1
cbcccf5
0600184
# ICU - from tools/icu/current_ver.dep
49aeab9
%global icu_major 69
a8ba41e
%global icu_minor 1
cac1395
%global icu_version %{icu_major}.%{icu_minor}
3e9a5a1
f0e2a1e
%global icudatadir %{nodejs_datadir}/icudata
f0e2a1e
%{!?little_endian: %global little_endian %(%{__python3} -c "import sys;print (0 if sys.byteorder=='big' else 1)")}
f0e2a1e
# " this line just fixes syntax highlighting for vim that is confused by the above and continues literal
3e9a5a1
cac1395
ff80414
# OpenSSL minimum version
ff80414
%global openssl_minimum 1:1.1.1
ff80414
4a94b49
# punycode - from lib/punycode.js
4a94b49
# Note: this was merged into the mainline since 0.6.x
cbcccf5
# Note: this will be unmerged in an upcoming major release
6198b7d
%global punycode_version 2.1.0
4a94b49
0227455
# npm - from deps/npm/package.json
4ae4aa6
%global npm_epoch 1
6198b7d
%global npm_version 8.1.2
0227455
4c556b4
# In order to avoid needing to keep incrementing the release version for the
4c556b4
# main package forever, we will just construct one for npm that is guaranteed
4c556b4
# to increment safely. Changing this can only be done during an update when the
4c556b4
# base npm version number is increasing.
4c556b4
%global npm_release %{nodejs_epoch}.%{nodejs_major}.%{nodejs_minor}.%{nodejs_patch}.%{nodejs_release}
4c556b4
a8ba41e
# uvwasi - from deps/uvwasi/include/uvwasi.h
6198b7d
%global uvwasi_version 0.0.11
a8ba41e
a8ba41e
# histogram_c - assumed from timestamps
6198b7d
%global histogram_version 0.9.7
a8ba41e
97563f5
# Node.js 16.9.1 and later comes with an experimental package management tool
aba90e5
%global corepack_version 0.10.0
97563f5
cdb693e
Name: nodejs
e14437b
Epoch: %{nodejs_epoch}
282860b
Version: %{nodejs_version}
ba96d36
Release: %{nodejs_release}%{?dist}
cdb693e
Summary: JavaScript runtime
cdb693e
License: MIT and ASL 2.0 and ISC and BSD
cdb693e
Group: Development/Languages
cdb693e
URL: http://nodejs.org/
T.C. Hollingsworth 7a602f8
74d1356
ExclusiveArch: %{nodejs_arches}
T.C. Hollingsworth 7a602f8
T.C. Hollingsworth 44e85ae
# nodejs bundles openssl, but we use the system version in Fedora
74b97c6
# because openssl contains prohibited code, we remove openssl completely from
74b97c6
# the tarball, using the script in Source100
74b97c6
Source0: node-v%{nodejs_version}-stripped.tar.gz
ed04b00
Source1: npmrc
24df709
Source2: btest402.js
24df709
Source3: https://github.com/unicode-org/icu/releases/download/release-%{icu_major}-%{icu_minor}/icu4c-%{icu_major}_%{icu_minor}-src.tgz
T.C. Hollingsworth 44e85ae
Source100: %{name}-tarball.sh
T.C. Hollingsworth 44e85ae
T.C. Hollingsworth 06ed0ee
# The native module Requires generator remains in the nodejs SRPM, so it knows
T.C. Hollingsworth 06ed0ee
# the nodejs and v8 versions.  The remainder has migrated to the
T.C. Hollingsworth 06ed0ee
# nodejs-packaging SRPM.
T.C. Hollingsworth acc9dc4
Source7: nodejs_native.attr
T.C. Hollingsworth 7a602f8
T.C. Hollingsworth 3a54e91
# Disable running gyp on bundled deps we don't use
733d546
Patch1: 0001-Disable-running-gyp-on-shared-deps.patch
5d0271a
3dd1c93
# Patch to install both node and libnode.so, using the correct libdir
f0e2a1e
Patch2: 0002-Install-both-binaries-and-use-libdir.patch
f0e2a1e
c2e87c4
BuildRequires: make
497f09b
BuildRequires: python%{python3_pkgversion}-devel
497f09b
BuildRequires: python%{python3_pkgversion}-setuptools
497f09b
BuildRequires: python%{python3_pkgversion}-jinja2
87f93eb
%if !%{with python3_fixup}
4fb0644
BuildRequires: python-unversioned-command
87f93eb
%endif
f0d01eb
%if %{with bundled_zlib}
f0d01eb
Provides: bundled(zlib) = %{zlib_version}
f0d01eb
%else
cdb693e
BuildRequires: zlib-devel
6198b7d
%endif
a8ba41e
BuildRequires: brotli-devel
497f09b
%if 0%{?rhel} && 0%{?rhel} < 8
497f09b
BuildRequires: devtoolset-11-gcc
497f09b
BuildRequires: devtoolset-11-gcc-c++
497f09b
%else
497f09b
BuildRequires: gcc >= 8.3.0
497f09b
BuildRequires: gcc-c++ >= 8.3.0
497f09b
%endif
497f09b
4c556b4
BuildRequires: jq
78887f1
# needed to generate bundled provides for npm dependencies
78887f1
# https://src.fedoraproject.org/rpms/nodejs/pull-request/2
78887f1
# https://pagure.io/nodejs-packaging/pull-request/10
78887f1
BuildRequires: nodejs-packaging
3dd1c93
BuildRequires: chrpath
76581ac
BuildRequires: libatomic
095039c
BuildRequires: systemtap-sdt-devel
8add249
dd2b006
%if %{with bootstrap}
dd2b006
Provides: bundled(libuv) = %{libuv_version}
cbcccf5
Provides: bundled(nghttp2) = %{nghttp2_version}
dd2b006
%else
46cd672
BuildRequires: libuv-devel >= 1:%{libuv_version}
4995ef7
Requires: libuv >= 1:%{libuv_version}
a2ee1cc
%if 0%{?fedora} || 0%{?rhel} >= 9
a3da530
BuildRequires: libnghttp2-devel >= %{nghttp2_version}
a3da530
Requires: libnghttp2 >= %{nghttp2_version}
a2ee1cc
%define nghttp2_configure --shared-nghttp2
a2ee1cc
%else
a2ee1cc
%define nghttp2_configure %{nil}
4eee8bb
Provides: bundled(nghttp2) = %{nghttp2_version}
a2ee1cc
%endif
6dcddc3
%endif
8c0820b
6dcddc3
# Temporarily bundle llhttp because the upstream doesn't
6dcddc3
# provide releases for it.
8c0820b
Provides: bundled(llhttp) = %{llhttp_version}
8c0820b
497f09b
%if 0%{?rhel} && 0%{?rhel} < 8
497f09b
BuildRequires: openssl11-devel >= %{openssl_minimum}
497f09b
Requires: openssl11 >= %{openssl_minimum}
497f09b
%global ssl_configure --shared-openssl --shared-openssl-includes=%{_includedir}/openssl11 --shared-openssl-libpath=%{_libdir}/openssl11
497f09b
%else
ff80414
BuildRequires: openssl-devel >= %{openssl_minimum}
ff80414
Requires: openssl >= %{openssl_minimum}
497f09b
%global ssl_configure --shared-openssl
497f09b
%endif
T.C. Hollingsworth 7a602f8
b9473f5
# we need the system certificate store
T.C. Hollingsworth e034863
Requires: ca-certificates
T.C. Hollingsworth e034863
a2b8a18
Requires: nodejs-libs%{?_isa} = %{nodejs_epoch}:%{version}-%{release}
c29f89e
f0e2a1e
# Pull in the full-icu data by default
f0d01eb
%if 0%{?fedora} || 0%{?rhel} >= 8
f0e2a1e
Recommends: nodejs-full-i18n%{?_isa} = %{nodejs_epoch}:%{version}-%{release}
497f09b
%endif
d3df05b
a8ba41e
# we need ABI virtual provides where SONAMEs aren't enough/not present so deps
a8ba41e
# break when binary compatibility is broken
T.C. Hollingsworth acc9dc4
Provides: nodejs(abi) = %{nodejs_abi}
2a3d08c
Provides: nodejs(abi%{nodejs_major}) = %{nodejs_abi}
T.C. Hollingsworth acc9dc4
a8ba41e
# this corresponds to the "engine" requirement in package.json
4ae4aa6
Provides: nodejs(engine) = %{nodejs_version}
cdb693e
cdb693e
# Node.js currently has a conflict with the 'node' package in Fedora
cdb693e
# The ham-radio group has agreed to rename their binary for us, but
cdb693e
# in the meantime, we're setting an explicit Conflicts: here
f2c3b61
Conflicts: node <= 0.3.2-12
cdb693e
T.C. Hollingsworth f46f116
# The punycode module was absorbed into the standard library in v0.6.
T.C. Hollingsworth f46f116
# It still exists as a seperate package for the benefit of users of older
T.C. Hollingsworth f46f116
# versions.  Since we've never shipped anything older than v0.10 in Fedora,
T.C. Hollingsworth f46f116
# we don't need the seperate nodejs-punycode package, so we Provide it here so
T.C. Hollingsworth f46f116
# dependent packages don't need to override the dependency generator.
T.C. Hollingsworth f46f116
# See also: RHBZ#11511811
e7cfbb0
# UPDATE: punycode will be deprecated and so we should unbundle it in Node v8
d27b8e5
# and use upstream module instead
d27b8e5
# https://github.com/nodejs/node/commit/29e49fc286080215031a81effbd59eac092fff2f
4a94b49
Provides: nodejs-punycode = %{punycode_version}
4a94b49
Provides: npm(punycode) = %{punycode_version}
T.C. Hollingsworth f46f116
f2c3b61
# Node.js has forked c-ares from upstream in an incompatible way, so we need
f2c3b61
# to carry the bundled version internally.
f2c3b61
# See https://github.com/nodejs/node/commit/766d063e0578c0f7758c3a965c971763f43fec85
282860b
Provides: bundled(c-ares) = %{c_ares_version}
f2c3b61
f2c3b61
# Node.js is closely tied to the version of v8 that is used with it. It makes
f2c3b61
# sense to use the bundled version because upstream consistently breaks ABI
f2c3b61
# even in point releases. Node.js upstream has now removed the ability to build
f2c3b61
# against a shared system version entirely.
f2c3b61
# See https://github.com/nodejs/node/commit/d726a177ed59c37cf5306983ed00ecd858cfbbef
282860b
Provides: bundled(v8) = %{v8_version}
f2c3b61
cac1395
# Node.js is bound to a specific version of ICU which may not match the OS
cac1395
# We cannot pin the OS to this version of ICU because every update includes
cac1395
# an ABI-break, so we'll use the bundled copy.
cac1395
Provides: bundled(icu) = %{icu_version}
2854d13
a8ba41e
# Upstream added new dependencies, but so far they are not available in Fedora
a8ba41e
# or there's no option to built it as a shared dependency, so we bundle them
a8ba41e
Provides: bundled(uvwasi) = %{uvwasi_version}
a8ba41e
Provides: bundled(histogram) = %{histogram_version}
97563f5
Provides: bundled(corepack) = %{corepack_version}
a8ba41e
095039c
%if 0%{?fedora}
a6be2c8
# Make sure to pull in the appropriate packaging macros when building RPMs
a6be2c8
Requires: (nodejs-packaging if rpm-build)
095039c
%endif
a6be2c8
4ae4aa6
# Make sure we keep NPM up to date when we update Node.js
f0d01eb
%if 0%{?fedora} || 0%{?rhel} >= 8
a2b8a18
Recommends: npm >= %{npm_epoch}:%{npm_version}-%{npm_release}%{?dist}
497f09b
%endif
f0d01eb
Conflicts: npm < %{npm_epoch}:%{npm_version}-%{npm_release}%{?dist}
497f09b
bdc896c
cdb693e
%description
cdb693e
Node.js is a platform built on Chrome's JavaScript runtime
cdb693e
for easily building fast, scalable network applications.
cdb693e
Node.js uses an event-driven, non-blocking I/O model that
cdb693e
makes it lightweight and efficient, perfect for data-intensive
cdb693e
real-time applications that run across distributed devices.
cdb693e
78887f1
T.C. Hollingsworth 3a234df
%package devel
T.C. Hollingsworth 3a234df
Summary: JavaScript runtime - development headers
T.C. Hollingsworth 3a234df
Group: Development/Languages
e7cfbb0
Requires: %{name}%{?_isa} = %{epoch}:%{nodejs_version}-%{nodejs_release}%{?dist}
c534169
Requires: openssl-devel%{?_isa}
6198b7d
%if !%{with bundled_zlib}
c534169
Requires: zlib-devel%{?_isa}
6198b7d
%endif
a8ba41e
Requires: brotli-devel%{?_isa}
T.C. Hollingsworth d46eff9
Requires: nodejs-packaging
T.C. Hollingsworth 3a234df
dd2b006
%if %{with bootstrap}
dd2b006
# deps are bundled
dd2b006
%else
6796d77
Requires: libuv-devel%{?_isa}
27f006a
%endif
27f006a
T.C. Hollingsworth 3a234df
%description devel
T.C. Hollingsworth 3a234df
Development headers for the Node.js JavaScript runtime.
T.C. Hollingsworth 3a234df
78887f1
c29f89e
%package libs
c29f89e
Summary: Node.js and v8 libraries
c29f89e
c29f89e
# Compatibility for obsolete v8 package
c29f89e
%if 0%{?__isa_bits} == 64
c29f89e
Provides: libv8.so.%{v8_major}()(64bit)
c29f89e
Provides: libv8_libbase.so.%{v8_major}()(64bit)
c29f89e
Provides: libv8_libplatform.so.%{v8_major}()(64bit)
0217ef1
%else
0217ef1
# 32-bits
c29f89e
Provides: libv8.so.%{v8_major}
c29f89e
Provides: libv8_libbase.so.%{v8_major}
c29f89e
Provides: libv8_libplatform.so.%{v8_major}
c29f89e
%endif
c29f89e
c29f89e
Provides: v8 = %{v8_epoch}:%{v8_version}-%{nodejs_release}%{?dist}
c29f89e
Provides: v8%{?_isa} = %{v8_epoch}:%{v8_version}-%{nodejs_release}%{?dist}
c29f89e
Obsoletes: v8 < 1:6.7.17-10
c29f89e
c29f89e
%description libs
c29f89e
Libraries to support Node.js and provide stable v8 interfaces.
c29f89e
f0e2a1e
f0e2a1e
%package full-i18n
f0e2a1e
Summary: Non-English locale data for Node.js
f0e2a1e
Requires: %{name}%{?_isa} = %{nodejs_epoch}:%{nodejs_version}-%{nodejs_release}%{?dist}
f0e2a1e
f0e2a1e
%description full-i18n
f0e2a1e
Optional data files to provide full-icu support for Node.js. Remove this
f0e2a1e
package to save space if non-English locales are not needed.
f0e2a1e
f0e2a1e
d3df05b
%package -n v8-devel
d3df05b
Summary: v8 - development headers
c29f89e
Epoch: %{v8_epoch}
d3df05b
Version: %{v8_version}
7cfea04
Release: %{v8_release}%{?dist}
a2b8a18
Requires: %{name}-devel%{?_isa} = %{nodejs_epoch}:%{nodejs_version}-%{nodejs_release}%{?dist}
d3df05b
d3df05b
%description -n v8-devel
d3df05b
Development headers for the v8 runtime.
d3df05b
78887f1
4ae4aa6
%package -n npm
4ae4aa6
Summary: Node.js Package Manager
4ae4aa6
Epoch: %{npm_epoch}
4ae4aa6
Version: %{npm_version}
ba96d36
Release: %{npm_release}%{?dist}
4ae4aa6
4ae4aa6
# We used to ship npm separately, but it is so tightly integrated with Node.js
4ae4aa6
# (and expected to be present on all Node.js systems) that we ship it bundled
4ae4aa6
# now.
4ae4aa6
Obsoletes: npm < 0:3.5.4-6
4ae4aa6
Provides: npm = %{npm_epoch}:%{npm_version}
a2b8a18
Requires: nodejs = %{nodejs_epoch}:%{nodejs_version}-%{nodejs_release}%{?dist}
f0d01eb
%if 0%{?fedora} || 0%{?rhel} >= 8
d6b10f9
Recommends: nodejs-docs = %{nodejs_epoch}:%{nodejs_version}-%{nodejs_release}%{?dist}
497f09b
%endif
4ae4aa6
4ae4aa6
# Do not add epoch to the virtual NPM provides or it will break
4ae4aa6
# the automatic dependency-generation script.
4ae4aa6
Provides: npm(npm) = %{npm_version}
4ae4aa6
4ae4aa6
%description -n npm
4ae4aa6
npm is a package manager for node.js. You can use it to install and publish
4ae4aa6
your node programs. It manages dependencies and does other cool stuff.
4ae4aa6
78887f1
T.C. Hollingsworth 1407a24
%package docs
T.C. Hollingsworth 1407a24
Summary: Node.js API documentation
T.C. Hollingsworth 1407a24
Group: Documentation
T.C. Hollingsworth 689af2f
BuildArch: noarch
T.C. Hollingsworth 1407a24
0227455
# We don't require that the main package be installed to
0227455
# use the docs, but if it is installed, make sure the
0227455
# version always matches
a2b8a18
Conflicts: %{name} > %{nodejs_epoch}:%{nodejs_version}-%{nodejs_release}%{?dist}
a2b8a18
Conflicts: %{name} < %{nodejs_epoch}:%{nodejs_version}-%{nodejs_release}%{?dist}
0227455
T.C. Hollingsworth 1407a24
%description docs
T.C. Hollingsworth 1407a24
The API documentation for the Node.js JavaScript runtime.
cdb693e
T.C. Hollingsworth d46eff9
cdb693e
%prep
8900556
%autosetup -p1 -n node-v%{nodejs_version}
cdb693e
f2c3b61
# remove bundled dependencies that we aren't building
6198b7d
%if !%{with bundled_zlib}
2854d13
rm -rf deps/zlib
6198b7d
%endif
6198b7d
a8ba41e
rm -rf deps/brotli
86d13af
rm -rf deps/v8/third_party/jinja2
86d13af
rm -rf tools/inspector_protocol/jinja2
cdb693e
87f93eb
# Replace any instances of unversioned python' with python3
87f93eb
%if %{with python3_fixup}
87f93eb
pathfix.py -i %{__python3} -pn $(find -type f ! -name "*.js")
87f93eb
find . -type f -exec sed -i "s~/usr\/bin\/env python~/usr/bin/python3~" {} \;
87f93eb
find . -type f -exec sed -i "s~/usr\/bin\/python\W~/usr/bin/python3~" {} \;
87f93eb
sed -i "s~usr\/bin\/python2~usr\/bin\/python3~" ./deps/v8/tools/gen-inlining-tests.py
87f93eb
sed -i "s~usr\/bin\/python.*$~usr\/bin\/python3~" ./deps/v8/tools/mb/mb_unittest.py
87f93eb
find . -type f -exec sed -i "s~python -c~python3 -c~" {} \;
87f93eb
%endif
87f93eb
ed12bdf
cdb693e
%build
497f09b
497f09b
# Activate DevToolset 11 on EPEL 7
497f09b
%if 0%{?rhel} && 0%{?rhel} < 8
497f09b
. /opt/rh/devtoolset-11/enable
497f09b
%endif
497f09b
0ea33ee
# When compiled on armv7hl this package generates an out of range
0ea33ee
# reference to the literal pool.  This is most likely a GCC issue.
0ea33ee
%ifarch armv7hl
a9d362b
%define _lto_cflags %{nil}
0ea33ee
%endif
46cd672
0217ef1
%ifarch s390 s390x %{arm} %ix86
0217ef1
# Decrease debuginfo verbosity to reduce memory consumption during final
0217ef1
# library linking
0217ef1
%global optflags %(echo %{optflags} | sed 's/-g /-g1 /')
0217ef1
%endif
0217ef1
99c49fc
export CC='%{__cc}'
99c49fc
export CXX='%{__cxx}'
87f93eb
%if %{with python3_fixup}
87f93eb
export NODE_GYP_FORCE_PYTHON=%{__python3}
87f93eb
%endif
24df709
T.C. Hollingsworth 5dd35b8
# build with debugging symbols and add defines from libuv (#892601)
4ae4aa6
# Node's v8 breaks with GCC 6 because of incorrect usage of methods on
5535265
# NULL objects. We need to pass -fno-delete-null-pointer-checks
0217ef1
export CFLAGS='%{optflags} \
e14437b
               -D_LARGEFILE_SOURCE \
e14437b
               -D_FILE_OFFSET_BITS=64 \
e14437b
               -DZLIB_CONST \
e14437b
               -fno-delete-null-pointer-checks'
0217ef1
export CXXFLAGS='%{optflags} \
e14437b
                 -D_LARGEFILE_SOURCE \
e14437b
                 -D_FILE_OFFSET_BITS=64 \
e14437b
                 -DZLIB_CONST \
e14437b
                 -fno-delete-null-pointer-checks'
T.C. Hollingsworth 5dd35b8
7ad8128
# Explicit new lines in C(XX)FLAGS can break naive build scripts
7ad8128
export CFLAGS="$(echo ${CFLAGS} | tr '\n\\' '  ')"
7ad8128
export CXXFLAGS="$(echo ${CXXFLAGS} | tr '\n\\' '  ')"
7ad8128
9b4c7dc
export LDFLAGS="%{build_ldflags}"
9b4c7dc
dd2b006
%if %{with bootstrap}
cc5ee3b
%{__python3} configure.py --prefix=%{_prefix} \
3dd1c93
           --shared \
3dd1c93
           --libdir=%{_lib} \
497f09b
           %{ssl_configure} \
6198b7d
%if !%{with bundled_zlib}
cdb693e
           --shared-zlib \
6198b7d
%endif
a8ba41e
           --shared-brotli \
dd2b006
           --without-dtrace \
46cd672
           --with-intl=small-icu \
1b7255b
           --openssl-use-def-ca-store
8add249
%else
cc5ee3b
%{__python3} configure.py --prefix=%{_prefix} \
3dd1c93
           --shared \
3dd1c93
           --libdir=%{_lib} \
497f09b
           %{ssl_configure} \
6198b7d
%if !%{with bundled_zlib}
8add249
           --shared-zlib \
6198b7d
%endif
a8ba41e
           --shared-brotli \
dd2b006
           --shared-libuv \
a2ee1cc
           %{nghttp2_configure} \
dd2b006
           --with-dtrace \
f0e2a1e
           --with-intl=small-icu \
f0e2a1e
           --with-icu-default-data-dir=%{icudatadir} \
8add249
           --openssl-use-def-ca-store
8add249
%endif
edee057
41ef844
%make_build BUILDTYPE=Release
cdb693e
f0e2a1e
# Extract the ICU data and convert it to the appropriate endianness
f0e2a1e
pushd deps/
f0e2a1e
tar xfz %SOURCE3
f0e2a1e
f0e2a1e
pushd icu/source
f0e2a1e
f0e2a1e
mkdir -p converted
f0e2a1e
%if 0%{?little_endian}
f0e2a1e
# The little endian data file is included in the ICU sources
f0e2a1e
install -Dpm0644 data/in/icudt%{icu_major}l.dat converted/
f0e2a1e
f0e2a1e
%else
f0e2a1e
# For the time being, we need to build ICU and use the included `icupkg` tool
f0e2a1e
# to convert the little endian data file into a big-endian one.
f0e2a1e
# At some point in the future, ICU releases will start including both data
f0e2a1e
# files and we should switch to those.
f0e2a1e
mkdir -p data/out/tmp
f0e2a1e
f0e2a1e
%configure
f0e2a1e
%make_build
f0e2a1e
f0e2a1e
icu_root=$(pwd)
f0e2a1e
LD_LIBRARY_PATH=./lib ./bin/icupkg -tb data/in/icudt%{icu_major}l.dat \
f0e2a1e
                                       converted/icudt%{icu_major}b.dat
f0e2a1e
%endif
f0e2a1e
f0e2a1e
popd # icu/source
f0e2a1e
popd # deps
f0e2a1e
f0e2a1e
cdb693e
%install
cdb693e
rm -rf %{buildroot}
cdb693e
f2c3b61
./tools/install.py install %{buildroot} %{_prefix}
cdb693e
cdb693e
# Set the binary permissions properly
cdb693e
chmod 0755 %{buildroot}/%{_bindir}/node
3dd1c93
chrpath --delete %{buildroot}%{_bindir}/node
cdb693e
3dd1c93
# Install library symlink
f0e2a1e
ln -s libnode.so.%{nodejs_soversion} %{buildroot}%{_libdir}/libnode.so
cdb693e
d3df05b
# Install v8 compatibility symlinks
d3df05b
for header in %{buildroot}%{_includedir}/node/libplatform %{buildroot}%{_includedir}/node/v8*.h; do
d3df05b
    header=$(basename ${header})
f2dbb7e
    ln -s ./node/${header} %{buildroot}%{_includedir}/${header}
d3df05b
done
f2dbb7e
ln -s ./node/cppgc %{buildroot}%{_includedir}/cppgc
d3df05b
for soname in libv8 libv8_libbase libv8_libplatform; do
f0e2a1e
    ln -s libnode.so.%{nodejs_soversion} %{buildroot}%{_libdir}/${soname}.so
f0e2a1e
    ln -s libnode.so.%{nodejs_soversion} %{buildroot}%{_libdir}/${soname}.so.%{v8_major}
d3df05b
done
edee057
T.C. Hollingsworth d102ea1
# own the sitelib directory
T.C. Hollingsworth d102ea1
mkdir -p %{buildroot}%{_prefix}/lib/node_modules
T.C. Hollingsworth d102ea1
T.C. Hollingsworth acc9dc4
# ensure Requires are added to every native module that match the Provides from
T.C. Hollingsworth acc9dc4
# the nodejs build in the buildroot
T.C. Hollingsworth 06ed0ee
install -Dpm0644 %{SOURCE7} %{buildroot}%{_rpmconfigdir}/fileattrs/nodejs_native.attr
T.C. Hollingsworth acc9dc4
cat << EOF > %{buildroot}%{_rpmconfigdir}/nodejs_native.req
T.C. Hollingsworth acc9dc4
#!/bin/sh
2a3d08c
echo 'nodejs(abi%{nodejs_major}) >= %nodejs_abi'
T.C. Hollingsworth acc9dc4
EOF
T.C. Hollingsworth acc9dc4
chmod 0755 %{buildroot}%{_rpmconfigdir}/nodejs_native.req
T.C. Hollingsworth d102ea1
a8ba41e
# install documentation
T.C. Hollingsworth 93798a9
mkdir -p %{buildroot}%{_pkgdocdir}/html
T.C. Hollingsworth 93798a9
cp -pr doc/* %{buildroot}%{_pkgdocdir}/html
T.C. Hollingsworth 93798a9
rm -f %{buildroot}%{_pkgdocdir}/html/nodejs.1
T.C. Hollingsworth 1407a24
a8ba41e
# node-gyp needs common.gypi too
T.C. Hollingsworth 658010d
mkdir -p %{buildroot}%{_datadir}/node
T.C. Hollingsworth 658010d
cp -p common.gypi %{buildroot}%{_datadir}/node
T.C. Hollingsworth 48d6c59
f2c3b61
# Install the GDB init tool into the documentation directory
f2c3b61
mv %{buildroot}/%{_datadir}/doc/node/gdbinit %{buildroot}/%{_pkgdocdir}/gdbinit
f2c3b61
0227455
# install NPM docs to mandir
0227455
mkdir -p %{buildroot}%{_mandir} \
0227455
         %{buildroot}%{_pkgdocdir}/npm
0227455
0227455
cp -pr deps/npm/man/* %{buildroot}%{_mandir}/
0227455
rm -rf %{buildroot}%{_prefix}/lib/node_modules/npm/man
0227455
ln -sf %{_mandir}  %{buildroot}%{_prefix}/lib/node_modules/npm/man
0227455
6198b7d
# Install Gatsby HTML documentation to %%{_pkgdocdir}
f0e2a1e
cp -pr deps/npm/docs %{buildroot}%{_pkgdocdir}/npm/
f0e2a1e
rm -rf %{buildroot}%{_prefix}/lib/node_modules/npm/docs
0227455
f0e2a1e
ln -sf %{_pkgdocdir}/npm %{buildroot}%{_prefix}/lib/node_modules/npm/docs
282860b
12cf557
# Node tries to install some python files into a documentation directory
12cf557
# (and not the proper one). Remove them for now until we figure out what to
12cf557
# do with them.
12cf557
rm -f %{buildroot}/%{_defaultdocdir}/node/lldb_commands.py \
12cf557
      %{buildroot}/%{_defaultdocdir}/node/lldbinit
12cf557
ec1e55a
# Some NPM bundled deps are executable but should not be. This causes
ec1e55a
# unnecessary automatic dependencies to be added. Make them not executable.
54ae556
# Skip the npm bin directory or the npm binary will not work.
54ae556
find %{buildroot}%{_prefix}/lib/node_modules/npm \
f16535f
    -not -path "%{buildroot}%{_prefix}/lib/node_modules/npm/bin/*" \
4614b5f
    -executable -type f \
4614b5f
    -exec chmod -x {} \;
ec1e55a
233eace
# The above command is a little overzealous. Add a few permissions back.
23764b6
chmod 0755 %{buildroot}%{_prefix}/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin/node-gyp
233eace
chmod 0755 %{buildroot}%{_prefix}/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js
233eace
0787dcc
# Corepack contains a number of executable"shims", including some for Windows
0787dcc
# PowerShell. Drop the executable bit for those so we don't pick up an
0787dcc
# automatic dependency on /usr/bin/pwsh that we cannot satisfy.
0787dcc
chmod -x %{buildroot}%{_prefix}/lib/node_modules/corepack/shims/*.ps1
0787dcc
ed04b00
# Drop the NPM default configuration in place
641a3e1
mkdir -p %{buildroot}%{_sysconfdir}
2526ca9
cp %{SOURCE1} %{buildroot}%{_sysconfdir}/npmrc
ed04b00
a8ba41e
# NPM upstream expects it to be in /usr/etc/npmrc, so we'll put a symlink here
2526ca9
# This is done in the interests of keeping /usr read-only.
2526ca9
mkdir -p %{buildroot}%{_prefix}/etc
2526ca9
ln -s %{_sysconfdir}/npmrc %{buildroot}%{_prefix}/etc/npmrc
ed04b00
f0e2a1e
# Install the full-icu data files
497f09b
mkdir -p %{buildroot}%{icudatadir}
f0e2a1e
install -Dpm0644 -t %{buildroot}%{icudatadir} deps/icu/source/converted/*
f0e2a1e
a8ba41e
282860b
%check
282860b
# Fail the build if the versions don't match
3dd1c93
LD_LIBRARY_PATH=%{buildroot}%{_libdir} %{buildroot}/%{_bindir}/node -e "require('assert').equal(process.versions.node, '%{nodejs_version}')"
3dd1c93
LD_LIBRARY_PATH=%{buildroot}%{_libdir} %{buildroot}/%{_bindir}/node -e "require('assert').equal(process.versions.v8.replace(/-node\.\d+$/, ''), '%{v8_version}')"
3dd1c93
LD_LIBRARY_PATH=%{buildroot}%{_libdir} %{buildroot}/%{_bindir}/node -e "require('assert').equal(process.versions.ares.replace(/-DEV$/, ''), '%{c_ares_version}')"
282860b
4a94b49
# Ensure we have punycode and that the version matches
3dd1c93
LD_LIBRARY_PATH=%{buildroot}%{_libdir} %{buildroot}/%{_bindir}/node -e "require(\"assert\").equal(require(\"punycode\").version, '%{punycode_version}')"
282860b
a51d9b4
# Ensure we have npm and that the version matches
497f09b
LD_LIBRARY_PATH=%{buildroot}%{_libdir} %{buildroot}%{_bindir}/node %{buildroot}%{_bindir}/npm version --json |jq '. | select(.npm | contains("7.24.0"))'
a51d9b4
24df709
# Make sure i18n support is working
f0e2a1e
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}
24df709
46cd672
6198b7d
%if 0%{?rhel} && 0%{?rhel} < 8
6198b7d
%pretrans -n npm -p <lua>
6198b7d
-- Remove all of the symlinks from the bundled npm node_modules directory
6198b7d
base_path = "%{_prefix}/lib/node_modules/npm/node_modules/"
6198b7d
d_st = posix.stat(base_path)
6198b7d
if d_st then
6198b7d
  for f in posix.files(base_path) do
6198b7d
    path = base_path..f
6198b7d
    st = posix.stat(path)
6198b7d
    if st and st.type == "link" then
6198b7d
      os.remove(path)
6198b7d
    end
6198b7d
  end
6198b7d
end
6198b7d
%endif
6198b7d
cdb693e
%files
cdb693e
%{_bindir}/node
T.C. Hollingsworth d102ea1
%dir %{_prefix}/lib/node_modules
T.C. Hollingsworth b751ee7
%dir %{_datadir}/node
f2c3b61
%dir %{_datadir}/systemtap
f2c3b61
%dir %{_datadir}/systemtap/tapset
f2c3b61
%{_datadir}/systemtap/tapset/node.stp
7f7badf
97563f5
# corepack
97563f5
%{_bindir}/corepack
97563f5
%{_prefix}/lib/node_modules/corepack
97563f5
dd2b006
%if %{with bootstrap}
dd2b006
# no dtrace
dd2b006
%else
7ad8128
%dir %{_usr}/lib/dtrace
7ad8128
%{_usr}/lib/dtrace/node.d
7f7badf
%endif
7f7badf
T.C. Hollingsworth 06ed0ee
%{_rpmconfigdir}/fileattrs/nodejs_native.attr
T.C. Hollingsworth 06ed0ee
%{_rpmconfigdir}/nodejs_native.req
a8ba41e
%doc AUTHORS CHANGELOG.md onboarding.md GOVERNANCE.md README.md
e61c90d
%doc %{_mandir}/man1/node.1*
0227455
bdc896c
T.C. Hollingsworth 3a234df
%files devel
T.C. Hollingsworth 3a234df
%{_includedir}/node
3dd1c93
%{_libdir}/libnode.so
T.C. Hollingsworth b751ee7
%{_datadir}/node/common.gypi
f2c3b61
%{_pkgdocdir}/gdbinit
T.C. Hollingsworth 3a234df
4ae4aa6
f0e2a1e
%files full-i18n
f0e2a1e
%dir %{icudatadir}
f0e2a1e
%{icudatadir}/icudt%{icu_major}*.dat
f0e2a1e
a8ba41e
c29f89e
%files libs
f0e2a1e
%license LICENSE
c29f89e
%{_libdir}/libnode.so.%{nodejs_soversion}
c29f89e
%{_libdir}/libv8.so.%{v8_major}
c29f89e
%{_libdir}/libv8_libbase.so.%{v8_major}
c29f89e
%{_libdir}/libv8_libplatform.so.%{v8_major}
f0e2a1e
%dir %{nodejs_datadir}/
c29f89e
c29f89e
d3df05b
%files -n v8-devel
d3df05b
%{_includedir}/libplatform
d3df05b
%{_includedir}/v8*.h
c30fcda
%{_includedir}/cppgc
d3df05b
%{_libdir}/libv8.so
d3df05b
%{_libdir}/libv8_libbase.so
d3df05b
%{_libdir}/libv8_libplatform.so
d3df05b
d3df05b
4ae4aa6
%files -n npm
4ae4aa6
%{_bindir}/npm
3a31943
%{_bindir}/npx
32ad0b1
%{_prefix}/lib/node_modules/npm
ed04b00
%config(noreplace) %{_sysconfdir}/npmrc
2526ca9
%{_prefix}/etc/npmrc
32ad0b1
%ghost %{_sysconfdir}/npmignore
f0e2a1e
%doc %{_mandir}/man1/npm*.1*
f0e2a1e
%doc %{_mandir}/man1/npx.1*
f0e2a1e
%doc %{_mandir}/man5/folders.5*
f0e2a1e
%doc %{_mandir}/man5/install.5*
f0e2a1e
%doc %{_mandir}/man5/npmrc.5*
3ef3ddb
%doc %{_mandir}/man5/npm-shrinkwrap-json.5*
f0e2a1e
%doc %{_mandir}/man5/package-json.5*
f0e2a1e
%doc %{_mandir}/man5/package-lock-json.5*
f0e2a1e
%doc %{_mandir}/man7/config.7*
f0e2a1e
%doc %{_mandir}/man7/developers.7*
f0e2a1e
%doc %{_mandir}/man7/orgs.7*
f0e2a1e
%doc %{_mandir}/man7/registry.7*
f0e2a1e
%doc %{_mandir}/man7/removal.7*
f0e2a1e
%doc %{_mandir}/man7/scope.7*
f0e2a1e
%doc %{_mandir}/man7/scripts.7*
3ef3ddb
%doc %{_mandir}/man7/workspaces.7*
e61c90d
4ae4aa6
T.C. Hollingsworth 1407a24
%files docs
4fd4157
%doc doc
T.C. Hollingsworth 93798a9
%dir %{_pkgdocdir}
T.C. Hollingsworth 93798a9
%{_pkgdocdir}/html
f0e2a1e
%{_pkgdocdir}/npm/docs
T.C. Hollingsworth 1407a24
a8ba41e
cdb693e
%changelog
f0d01eb
* Mon Jan 31 2022 Stephen Gallagher <sgallagh@redhat.com> - 1:16.13.2-3
f0d01eb
- Tweak some dependencies on EPEL 7 (bz2048589)
f0d01eb
- Add (Provides: bundled(zlib))
f0d01eb
6198b7d
* Wed Jan 19 2022 Stephen Gallagher <sgallagh@redhat.com> - 1:16.13.2-3
6198b7d
- Bundle zlib on EPEL 7
6198b7d
497f09b
* Mon Jan 17 2022 Stephen Gallagher <sgallagh@redhat.com> - 1:16.13.2-2
497f09b
- Add support for building on EPEL 7
497f09b
97203e0
* Tue Jan 11 2022 Stephen Gallagher <sgallagh@redhat.com> - 1:16.13.2-1
97203e0
- Improper handling of URI Subject Alternative Names (Medium)(CVE-2021-44531)
97203e0
- Certificate Verification Bypass via String Injection (Medium)(CVE-2021-44532)
97203e0
- Incorrect handling of certificate subject and issuer fields (Medium)(CVE-2021-44533)
97203e0
- Prototype pollution via `console.table` properties (Low)(CVE-2022-21824)
97203e0
87f93eb
* Thu Dec 02 2021 Stephen Gallagher <sgallagh@redhat.com> - 1:16.13.1-2
87f93eb
- Enable building for EPEL 8 modules
87f93eb
7a3f77a
* Thu Dec 02 2021 Stephen Gallagher <sgallagh@redhat.com> - 1:16.13.1-1
7a3f77a
- Update to 16.13.1
7a3f77a
- https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V16.md#16.13.1
7a3f77a
39f6a05
* Thu Nov 25 2021 Honza Horak <hhorak@redhat.com> - 1:16.13.0-3
23764b6
- Make sure binary node-gyp is executable
23764b6
  Resolves: #2026615
23764b6
da1ef7a
* Mon Nov 01 2021 Stephen Gallagher <sgallagh@redhat.com> - 1:16.13.0-1
a2ee1cc
- Update to 16.13.0
a2ee1cc
- https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V16.md#16.13.0
a2ee1cc
- Add support for epel8
a2ee1cc
aba90e5
* Mon Oct 25 2021 Stephen Gallagher <sgallagh@redhat.com> - 1:16.12.0-1
aba90e5
- Update to 16.12.0
aba90e5
- https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V16.md#16.12.0
aba90e5
4c556b4
* Wed Oct 13 2021 Stephen Gallagher <sgallagh@redhat.com> - 1:16.11.1-1
4c556b4
- Update to 16.11.1
4c556b4
- https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V16.md#16.11.0
aba90e5
- https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V16.md#16.11.1
4c556b4
e13a2ee
* Thu Sep 23 2021 Stephen Gallagher <sgallagh@redhat.com> - 1:16.10.0-1
e13a2ee
- Update to 16.10.0
e13a2ee
- https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V16.md#16.10.0
e13a2ee
0787dcc
* Tue Sep 14 2021 Stephen Gallagher <sgallagh@redhat.com> - 1:16.9.1-4
0787dcc
- Correct the bad merge of corepack fix
0787dcc
01e00d5
* Tue Sep 14 2021 Stephen Gallagher <sgallagh@redhat.com> - 1:16.9.1-3
8d2c8a7
- Drop auto-dependency on PowerShell introduced by corepack
8d2c8a7
e43df00
* Tue Sep 14 2021 Sahana Prasad <sahana@redhat.com> - 1:16.9.1-2
e43df00
- Rebuilt with OpenSSL 3.0.0
e43df00
97563f5
* Mon Sep 13 2021 Stephen Gallagher <sgallagh@redhat.com> - 1:16.9.1-1
97563f5
- Update to 16.9.1
97563f5
- Add experimental 'corepack' tool
97563f5
- https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V16.md#16.9.0
97563f5
- https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V16.md#16.9.1
97563f5
d4c0000
* Tue Aug 31 2021 Stephen Gallagher <sgallagh@redhat.com> - 1:16.8.0-1
d4c0000
- Update to 16.8.0
d4c0000
- https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V16.md#16.8.0
d4c0000
- https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V16.md#16.7.0
d4c0000
41ef844
* Wed Aug 11 2021 Stephen Gallagher <sgallagh@redhat.com> - 1:16.6.2-1
41ef844
- Update to 16.6.2
41ef844
- https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V16.md#16.6.2
41ef844
a659677
* Tue Aug 03 2021 Stephen Gallagher <sgallagh@redhat.com> - 1:16.6.1-1
a659677
- Update to 16.6.1
a659677
- https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V16.md#16.6.1
a659677
- Fixes v8 regression introduced in 16.6.0
a659677
72af3e7
* Mon Aug 02 2021 Stephen Gallagher <sgallagh@redhat.com> - 1:16.6.0-1
72af3e7
- Update to 16.6.0
72af3e7
- https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V16.md#16.6.0
72af3e7
368b519
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:16.5.0-2
368b519
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
368b519
9285d83
* Tue Jul 20 2021 Stephen Gallagher <sgallagh@redhat.com> - 1:16.5.0-1
9285d83
- Update to 16.5.0
9285d83
- https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V16.md#16.5.0
9285d83
5e958a4
* Fri Jul 02 2021 Stephen Gallagher <sgallagh@redhat.com> - 1:16.4.1-2
5e958a4
- Re-add support for v8 development headers
5e958a4
7b85cf7
* Thu Jul 01 2021 Stephen Gallagher <sgallagh@redhat.com> - 1:16.4.1-1
7b85cf7
- Update to 16.4.1
7b85cf7
- https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V16.md#16.4.1
7b85cf7
4057b49
* Wed Jun 23 2021 Stephen Gallagher <sgallagh@redhat.com> - 1:16.4.0-1
4057b49
- Update to 16.4.0
4057b49
- https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V16.md#16.4.0
4057b49
f02a219
* Fri Jun 04 2021 Stephen Gallagher <sgallagh@redhat.com> - 1:16.3.0-1
f02a219
- Update to 16.3.0
f02a219
- https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V16.md#16.3.0
f02a219
f02a219
18a648f
* Wed May 19 2021 Stephen Gallagher <sgallagh@redhat.com> - 1:16.2.0-1
18a648f
- Update to 16.2.0
18a648f
- https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V16.md#16.2.0
18a648f
- Fix changelog version numbers
18a648f
18a648f
* Tue May 04 2021 Stephen Gallagher <sgallagh@redhat.com> - 1:16.1.0-1
9f9d592
- Update to 16.1.0
9f9d592
- https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V16.md#16.1.0
9f9d592
- Drop upstreamed patch
9f9d592
18a648f
* Thu Apr 29 2021 Stephen Gallagher <sgallagh@redhat.com> - 1:16.0.0-1
49aeab9
- First release of Node.js 16.x
f270235