From dc5f99530207b06cedb71b8b4af2a61fe93ac674 Mon Sep 17 00:00:00 2001 From: Richard W.M. Jones Date: Oct 09 2016 10:12:33 +0000 Subject: Add riscv64 to: arches without valgrind, 64 bit arches. --- diff --git a/python.spec b/python.spec index fe5ed2f..c927d4a 100644 --- a/python.spec +++ b/python.spec @@ -47,7 +47,7 @@ %global with_systemtap 1 # some arches don't have valgrind so we need to disable its support on them -%ifnarch s390 %{mips} +%ifnarch s390 %{mips} riscv64 %global with_valgrind 1 %else %global with_valgrind 0 @@ -1402,7 +1402,7 @@ install -d %{buildroot}/%{_prefix}/lib/python%{pybasever}/site-packages %global _pyconfig32_h pyconfig-32.h %global _pyconfig64_h pyconfig-64.h -%ifarch %{power64} s390x x86_64 ia64 alpha sparc64 aarch64 %{mips64} +%ifarch %{power64} s390x x86_64 ia64 alpha sparc64 aarch64 %{mips64} riscv64 %global _pyconfig_h %{_pyconfig64_h} %else %global _pyconfig_h %{_pyconfig32_h}