Related: #2176587 Apply lower-node-min-version for c8s build
This commit is contained in:
parent
ec3a5ad58c
commit
12c0531e48
@ -26,7 +26,7 @@ function dist_to_rhel_minor(str, start)
|
|||||||
end
|
end
|
||||||
match = string.match(str, ".el8")
|
match = string.match(str, ".el8")
|
||||||
if match then
|
if match then
|
||||||
return 7
|
return 9
|
||||||
end
|
end
|
||||||
return -1
|
return -1
|
||||||
end}
|
end}
|
||||||
@ -657,7 +657,7 @@ echo "use_rustts %{?use_rustts}"
|
|||||||
%patch77 -p1 -b .mozilla-1775202
|
%patch77 -p1 -b .mozilla-1775202
|
||||||
|
|
||||||
%patch73 -p1 -b .build-ascii-decode-fail-rhel7
|
%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
|
%patch78 -p1 -b .build-rhel7-lower-node-min-version
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user