From 693a83b0c291b9c876f08bdc5e81c6718bf71929 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Mon, 7 Nov 2016 23:43:54 -0500 Subject: [PATCH] Add a hack to fix tests, and restore building on ppc* I didn't test ppc64le yet, but at least ppc64 builds fine with the kludge. --- pypy3.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pypy3.spec b/pypy3.spec index 0c266d0..934a434 100644 --- a/pypy3.spec +++ b/pypy3.spec @@ -12,7 +12,7 @@ License: MIT and Python and UCD URL: http://pypy.org/ # Not available yet -ExcludeArch: aarch64 s390 s390x ppc64le ppc64 +ExcludeArch: aarch64 s390 s390x # High-level configuration of the build: @@ -661,6 +661,9 @@ rm -f %{buildroot}%{_libdir}//pypy3-5.2.0.tar.bz2 rm -f %{buildroot}%{pypyprefix}/LICENSE rm -f %{buildroot}%{pypyprefix}/README.rst +# wtf? This is probably masking some bigger problem, but let's do this for now +mv -v lib-python/3/test/regrtest.py-new lib-python/3/test/regrtest.py || : + %check topdir=$(pwd)