diff --git a/nodejs18.spec b/nodejs18.spec index 021d516..f9c4cc1 100644 --- a/nodejs18.spec +++ b/nodejs18.spec @@ -282,12 +282,13 @@ Requires: openssl-has-RSA_get0_pss_params %if 0%{?suse_version} >= 1500 BuildRequires: openssl >= %{openssl_req_ver} -%else -BuildRequires: openssl-1_1 >= %{openssl_req_ver} -%endif - BuildRequires: (libopenssl1_1-hmac if libopenssl-1_1-devel) BuildRequires: (libopenssl3-hmac if libopenssl-3-devel) +%else +BuildRequires: openssl-1_1 >= %{openssl_req_ver} +BuildRequires: libopenssl1_1-hmac +%endif + # /suse_version %endif