From e7020a59295b40f6f95cdf0ecad30661b61ae863 Mon Sep 17 00:00:00 2001 From: Lukas Javorsky Date: Tue, 5 Mar 2024 11:23:15 +0000 Subject: [PATCH] Specify openssl configuration section By default, node does not use the common openssl configuration section, relying instead on node-specific `nodejs_conf` section. Since we want node to use the system configuration, the section name should be changed (back) to `openssl_conf`. See discussion in https://github.com/nodejs/node/pull/48950 for the reason this change is suggested. Related: RHEL-25867 RHEL-26537 RHEL-26535 RHEL-25933 RHEL-26533 RHEL-26539 RHEL-25923 --- nodejs.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodejs.spec b/nodejs.spec index 0f0c634..e17e4de 100644 --- a/nodejs.spec +++ b/nodejs.spec @@ -434,7 +434,7 @@ export CFLAGS="%{optflags} ${extra_cflags[*]}" CXXFLAGS="%{optflags} ${extra_cfl export LDFLAGS="%{build_ldflags}" %{__python3} configure.py --prefix=%{_prefix} --verbose \ - --shared-openssl \ + --shared-openssl --openssl-conf-name=openssl_conf \ --shared-zlib \ --shared-brotli \ %{!?with_bundled:--shared-libuv} \