From a64e7f7e987353a3485cac592d39ff7a78b1718b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Sat, 4 Aug 2018 22:07:21 +0200 Subject: [PATCH] Use the %{valgrind_arches} macro instead of hardcoding unsupported arches https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/7GJQDPCQ743DKJ3LAJFDDX3ZD6LOPB5N/ --- python3.spec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/python3.spec b/python3.spec index a3ff6af..4359d8b 100644 --- a/python3.spec +++ b/python3.spec @@ -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