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 %bcond_without intree_openssl
%endif %endif
%if 0%{suse_version} >= 1330 %if 0%{?suse_version} >= 1330 || 0%{?fedora_version} >= 35
%bcond_with intree_cares %bcond_with intree_cares
%else %else
%bcond_without intree_cares %bcond_without intree_cares
%endif %endif
%if 0%{?suse_version} >= 1330 %if 0%{?suse_version} >= 1330 || 0%{?fedora_version} >= 35
%bcond_with intree_icu %bcond_with intree_icu
%else %else
%bcond_without intree_icu %bcond_without intree_icu
%endif %endif
%if 0%{suse_version} >= 1550 %if 0%{?suse_version} >= 1550
%bcond_with intree_nghttp2 %bcond_with intree_nghttp2
%else %else
%bcond_without intree_nghttp2 %bcond_without intree_nghttp2