From 2961a50035ae12ff6e4875998333130e7eab236a Mon Sep 17 00:00:00 2001 From: Zephyr Lykos Date: Fri, 26 Jan 2024 14:51:08 +0800 Subject: [PATCH] Fix loading unbundled undici builtin (rhbz#2259320) --- nodejs20.spec | 2 +- packaging/nodejs.spec.j2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nodejs20.spec b/nodejs20.spec index f1f9fa6..786c302 100644 --- a/nodejs20.spec +++ b/nodejs20.spec @@ -547,7 +547,7 @@ export PATH="${cwd}/.bin:$PATH" %{!?with_bundled_zlib:--shared-zlib} \ %{!?with_bootstrap:--shared-builtin-cjs_module_lexer/lexer-path %{nodejs_default_sitelib}/cjs-module-lexer/lexer.js} \ %{!?with_bootstrap:--shared-builtin-cjs_module_lexer/dist/lexer-path %{nodejs_default_sitelib}/cjs-module-lexer/dist/lexer.js} \ - %{!?with_bootstrap:--shared-builtin-undici/undici-path %{nodejs_default_sitelib}/undici/index.js} \ + %{!?with_bootstrap:--shared-builtin-undici/undici-path %{nodejs_default_sitelib}/undici/loader.js} \ --shared-brotli \ --shared-libuv \ --with-intl=small-icu \ diff --git a/packaging/nodejs.spec.j2 b/packaging/nodejs.spec.j2 index b2823c9..6760706 100644 --- a/packaging/nodejs.spec.j2 +++ b/packaging/nodejs.spec.j2 @@ -559,7 +559,7 @@ export PATH="${cwd}/.bin:$PATH" %{!?with_bundled_zlib:--shared-zlib} \ %{!?with_bootstrap:--shared-builtin-cjs_module_lexer/lexer-path %{nodejs_default_sitelib}/cjs-module-lexer/lexer.js} \ %{!?with_bootstrap:--shared-builtin-cjs_module_lexer/dist/lexer-path %{nodejs_default_sitelib}/cjs-module-lexer/dist/lexer.js} \ - %{!?with_bootstrap:--shared-builtin-undici/undici-path %{nodejs_default_sitelib}/undici/index.js} \ + %{!?with_bootstrap:--shared-builtin-undici/undici-path %{nodejs_default_sitelib}/undici/loader.js} \ --shared-brotli \ --shared-libuv \ --with-intl=small-icu \