From 91499f3a381bfb42b9b16c9c922e01f87635e403 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Fri, 21 Jun 2024 12:00:09 -0400 Subject: [PATCH] Update to 20.15.0 Signed-off-by: Stephen Gallagher --- nodejs-sources.sh | 17 ++++++----------- nodejs20.spec | 2 +- sources | 2 +- 3 files changed, 8 insertions(+), 13 deletions(-) diff --git a/nodejs-sources.sh b/nodejs-sources.sh index 32d7302..c832ca5 100755 --- a/nodejs-sources.sh +++ b/nodejs-sources.sh @@ -148,14 +148,10 @@ fi FEDORA_DEFAULT_RELEASE_LOW=$((NODE_PKG_MAJOR + 19)) FEDORA_DEFAULT_RELEASE_HIGH=$((NODE_PKG_MAJOR + 20)) -if [[ $((NODE_PKG_MAJOR)) -eq 20 ]]; then - RHEL_DEFAULT_RELEASE=" || 0%{?rhel} == 10" -fi - -# Handle the situation where the next stable release of Node.js isn't yet -# available to include. -if [[ $((NODE_PKG_MAJOR)) -eq 20 ]]; then - TEMPORARY_RELEASE=" || 0%{?fedora} == 41 || 0%{?rhel} >= 11" +if [[ $((NODE_PKG_MAJOR)) -eq 20 ]] + then RHEL_DEFAULT_RELEASE=" || 0%{?rhel} == 10" +elif [[ $((NODE_PKG_MAJOR)) -eq 22 ]]; + then RHEL_DEFAULT_RELEASE=" || 0%{?rhel} == 11" fi rm -rf node-v${version}.tar.gz \ @@ -313,8 +309,7 @@ IFS='' read -r -d '' template_json <