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.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2016-11-07 23:43:54 -05:00
parent 817c77d554
commit 693a83b0c2

View File

@ -12,7 +12,7 @@ License: MIT and Python and UCD
URL: http://pypy.org/ URL: http://pypy.org/
# Not available yet # Not available yet
ExcludeArch: aarch64 s390 s390x ppc64le ppc64 ExcludeArch: aarch64 s390 s390x
# High-level configuration of the build: # 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}/LICENSE
rm -f %{buildroot}%{pypyprefix}/README.rst 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 %check
topdir=$(pwd) topdir=$(pwd)