Remove a hack that was not needed on 3.14

When discussing whether to backport https://github.com/python/cpython/pull/141809
I discovered that this hack was not needed on this Python version.
This commit is contained in:
Miro Hrončok 2025-12-09 19:48:18 +01:00
commit e0d3024961

View file

@ -1063,10 +1063,6 @@ BuildPython() {
%if %{with jit} && %{without jit_build_stencils}
if [[ ! "$ConfName" =~ ^freethreading ]]; then
cp -a %{jit_stencils_source} %{jit_stencils_filename}
# Hackish way of preventing PGO task to delete the stencils.
# Upstream issue: https://github.com/python/cpython/issues/141808
# Upstream PR: https://github.com/python/cpython/pull/141809
sed -i '/rm -f jit_stencils.h/d' Makefile
fi
%endif