diff --git a/python3.14.spec b/python3.14.spec index 9da94a3..473529a 100644 --- a/python3.14.spec +++ b/python3.14.spec @@ -362,7 +362,7 @@ Source11: idle3.appdata.xml Source30: download-jit-stencils-from-koji.sh # This %%if-hack makes it easier to do step 1. from the above. # Use `fedpkg sources --force` to get the conditionally defined sources from the lookaside cache. -%if %{without jit_build_stencils} || %{exists:%{_sourcedir}/Python-%{upstream_version}-x86_64-optimized-jit_stencils.h} +%if (%{with jit} && %{without jit_build_stencils}) || %{exists:%{_sourcedir}/Python-%{upstream_version}-x86_64-optimized-jit_stencils.h} Source31: Python-%{upstream_version}-aarch64-debug-jit_stencils.h Source32: Python-%{upstream_version}-aarch64-optimized-jit_stencils.h Source33: Python-%{upstream_version}-x86_64-debug-jit_stencils.h