Check macro is defined before using it
rhel_minor_version is -1 on RHEL 10.beta and that is less than 2 and hence bundled NSS is used But skip that logic on RHEL 10 altogether.
This commit is contained in:
parent
578690ac44
commit
5961d28916
@ -48,13 +48,13 @@ end}
|
||||
%global bundle_nss 0
|
||||
|
||||
%if 0%{?rhel} == 8
|
||||
%if %{rhel_minor_version} < 8
|
||||
%if %{rhel_minor_version} && %{rhel_minor_version} < 8
|
||||
%global bundle_nss 1
|
||||
%global system_nss 1
|
||||
%endif
|
||||
%endif
|
||||
%if 0%{?rhel} >= 9
|
||||
%if %{rhel_minor_version} < 2
|
||||
%if 0%{?rhel} == 9
|
||||
%if %{rhel_minor_version} && %{rhel_minor_version} < 2
|
||||
%global bundle_nss 1
|
||||
%global system_nss 1
|
||||
%endif
|
||||
|
Loading…
Reference in New Issue
Block a user