more fixes for Fedora in spec file

OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs18?expand=0&rev=9
This commit is contained in:
Adam Majer 2022-09-19 13:12:44 +00:00 committed by Git OBS Bridge
parent ca1e44bd4c
commit 7955725487

View File

@ -88,19 +88,19 @@ Release: 0
%bcond_without intree_openssl
%endif
%if 0%{suse_version} >= 1330
%if 0%{?suse_version} >= 1330 || 0%{?fedora_version} >= 35
%bcond_with intree_cares
%else
%bcond_without intree_cares
%endif
%if 0%{?suse_version} >= 1330
%if 0%{?suse_version} >= 1330 || 0%{?fedora_version} >= 35
%bcond_with intree_icu
%else
%bcond_without intree_icu
%endif
%if 0%{suse_version} >= 1550
%if 0%{?suse_version} >= 1550
%bcond_with intree_nghttp2
%else
%bcond_without intree_nghttp2