diff --git a/python36.spec b/python36.spec index d83267e..6e2eeb1 100644 --- a/python36.spec +++ b/python36.spec @@ -70,10 +70,9 @@ License: Python %bcond_without computed_gotos # Support for the Valgrind debugger/profiler -%ifnarch s390 %{mips} riscv64 +%ifarch %{valgrind_arches} %bcond_without valgrind %else -# Some arches don't have valgrind, disable support for it there. %bcond_with valgrind %endif