The package rpms/pypy.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/pypy.git/commit/?id=5b269245997cd....
Change:
-%ifarch %{power64}
Thanks.
Full change:
============
commit 5b269245997cdd724db7dd500328a881a6473225
Author: Miro Hronok <miro(a)hroncok.cz>
Date: Sat Oct 19 00:41:07 2019 +0200
Build everything with pypy, but fix the cpython build w/out pycparser
diff --git a/pypy.spec b/pypy.spec
index 203fb9a..091d2b4 100644
--- a/pypy.spec
+++ b/pypy.spec
@@ -178,20 +178,12 @@ Source189: 189-use-rpm-wheels.patch
# and avoid a cycle in the build-time dependency graph:
%global use_self_when_building 1
-# Getting strange error on ppc64 arch when building with PyPy,
-# use CPython for ppc64 temporarily
-#
https://koji.fedoraproject.org/koji/taskinfo?taskID=23000326
-# TODO: resolve this and remove power64 part of condition
-%ifarch %{power64}
-%global use_self_when_building 0
-%endif
-
%if 0%{use_self_when_building}
-BuildRequires: pypy
+BuildRequires: pypy2
%global bootstrap_python_interp pypy2
%else
-BuildRequires: python2-devel
-BuildRequires: python2-pycparser
+# exception to use Python 2:
https://pagure.io/fesco/issue/2130
+BuildRequires: python27
%global bootstrap_python_interp python2
%endif
@@ -344,6 +336,11 @@ find lib-python/%{pylibver} -name "*.py" -exec \
"{}" \
\;
+%if ! 0%{use_self_when_building}
+ # use the pycparser from PyPy even on CPython
+ ln -s lib_pypy/cffi/_pycparser pycparser
+%endif
+
%build
%ifarch s390x
# pypy3 requires z10 at least