Rename pypy2_build to build_using_pypy2 to be less confusing

This commit is contained in:
Miro Hrončok 2022-02-22 12:00:38 +01:00
parent da61e64d93
commit a426a21cc4

View File

@ -108,8 +108,8 @@ Source189: 189-use-rpm-wheels.patch
# and avoid a cycle in the build-time dependency graph:
# Note, pypy3 is built with pypy2, so no dependency cycle
%bcond_without pypy2_build
%if %{with pypy2_build}
%bcond_without build_using_pypy2
%if %{with build_using_pypy2}
BuildRequires: pypy2
%global bootstrap_python_interp pypy2
%else
@ -321,7 +321,7 @@ rm lib-python/3/idlelib/idle.bat
sed -i -r 's/\$\(LDFLAGSEXTRA\)/& -fuse-ld=gold/' ./rpython/translator/platform/posix.py
%endif
%if %{without pypy2_build}
%if %{without build_using_pypy2}
# use the pycparser from PyPy even on CPython
ln -s lib_pypy/cffi/_pycparser pycparser
%endif