Use the %{valgrind_arches} macro instead of hardcoding unsupported arches

https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/7GJQDPCQ743DKJ3LAJFDDX3ZD6LOPB5N/
This commit is contained in:
Miro Hrončok 2018-08-04 22:07:21 +02:00
parent 37437e1d44
commit a64e7f7e98

View File

@ -71,10 +71,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