From 7d81a4b710a6f5c56d816f871d896e76be4c5b2a 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 --- ceph.spec.in | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/ceph.spec.in b/ceph.spec.in index 978d6545b497f..36092ae4affde 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -23,11 +23,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_with lowmem_builder %if 0%{?fedora} || 0%{?rhel} -- 2.39.5