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: ses5-milestone5~2^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=159cf415cd13be257f50733add8a7737149e7901;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 (cherry picked from commit d97ab7643992003581d85f9c66f5b742b04c3c76) --- diff --git a/ceph.spec.in b/ceph.spec.in index dccf910a58ee..6d605d394ceb 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