Related: #2176603 Apply lower-node-min-version for c8s build

This commit is contained in:
Eike Rathke 2023-04-05 15:24:42 +02:00
parent 06c165829c
commit c3aec13fe4

View File

@ -19,7 +19,7 @@ function dist_to_rhel_minor(str, start)
end
match = string.match(str, ".el8")
if match then
return 7
return 9
end
return -1
end}
@ -591,7 +591,7 @@ echo "use_rustts %{?use_rustts}"
%patch77 -p1 -b .mozilla-1775202
%patch73 -p1 -b .build-ascii-decode-fail-rhel7
%if 0%{?rhel} == 7
%if 0%{?rhel} == 7 || (0%{?rhel} == 8 && %{rhel_minor_version} >= 9)
%patch78 -p1 -b .build-rhel7-lower-node-min-version
%endif