diff --git a/nodejs-sources.sh b/nodejs-sources.sh index 32d7302..3b246e4 100755 --- a/nodejs-sources.sh +++ b/nodejs-sources.sh @@ -148,14 +148,8 @@ 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" fi rm -rf node-v${version}.tar.gz \ @@ -313,8 +307,7 @@ IFS='' read -r -d '' template_json <