From: Nathan Cutler Date: Wed, 24 May 2017 07:54:47 +0000 (+0200) Subject: build/ops: rpm: reverse s390 bcond conditional block X-Git-Tag: v12.1.0~57^2~3^2~4 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=7d81a4b710a6f5c56d816f871d896e76be4c5b2a;p=ceph.git 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 --- diff --git a/ceph.spec.in b/ceph.spec.in index 978d6545b49..36092ae4aff 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}