Set Node.js 18.x as the default for RHEL 10

This will likely change to 20.x closer to release, but we need a
default in place for the time being.

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
This commit is contained in:
Stephen Gallagher 2023-01-27 13:36:00 -05:00
parent 8cfad4cd12
commit c541b7e256
No known key found for this signature in database
GPG Key ID: 45DB85A568286D11
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@
# Determine if this should be the default version for this Fedora release
# The default version will own /usr/bin/node and friends
%if 0%{?fedora} == 37 || 0%{?fedora} == 38
%if 0%{?fedora} == 37 || 0%{?fedora} == 38 || 0%{?rhel} == 10
%global nodejs_default %{nodejs_major}
%endif
%global nodejs_private_sitelib %{nodejs_sitelib}_%{nodejs_major}