From e0d3024961344564ab5f0bb34a87b7fe881be640 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 9 Dec 2025 19:48:18 +0100 Subject: [PATCH] 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. --- python3.14.spec | 4 ---- 1 file changed, 4 deletions(-) diff --git a/python3.14.spec b/python3.14.spec index 83cb290..6e9f073 100644 --- a/python3.14.spec +++ b/python3.14.spec @@ -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