]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
build/ops: rpm: reverse s390 bcond conditional block
authorNathan Cutler <ncutler@suse.com>
Wed, 24 May 2017 07:54:47 +0000 (09:54 +0200)
committerNathan Cutler <ncutler@suse.com>
Thu, 25 May 2017 01:22:18 +0000 (03:22 +0200)
I'm not a fan of "if NOT x - then - else" blocks.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
(cherry picked from commit d97ab7643992003581d85f9c66f5b742b04c3c76)

ceph.spec.in

index dccf910a58eee4333db232186b5a2673fa4171c5..6d605d394ceb6fa4c8f8218f6df881df04db0e47 100644 (file)
 %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