From 159cf415cd13be257f50733add8a7737149e7901 Mon Sep 17 00:00:00 2001 From: Nathan Cutler Date: Wed, 24 May 2017 09:54:47 +0200 Subject: [PATCH] build/ops: rpm: reverse s390 bcond conditional block I'm not a fan of "if NOT x - then - else" blocks. Signed-off-by: Nathan Cutler (cherry picked from commit d97ab7643992003581d85f9c66f5b742b04c3c76) --- ceph.spec.in | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/ceph.spec.in b/ceph.spec.in index dccf910a58eee..6d605d394ceb6 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -22,11 +22,10 @@ %endif %bcond_with make_check %bcond_with xio -%ifnarch s390 s390x -%bcond_without tcmalloc -%else -# no gperftools/tcmalloc on s390(x) +%ifarch s390 s390x %bcond_with tcmalloc +%else +%bcond_without tcmalloc %endif %bcond_without lowmem_builder %bcond_with minimal_debugging_information -- 2.39.5