]> 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>
Mon, 29 May 2017 20:47:46 +0000 (22:47 +0200)
I'm not a fan of "if NOT x - then - else" blocks.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
ceph.spec.in

index 978d6545b497f4e99eef9c1a648453be1d4278e8..36092ae4affded17b4559434107d22f5e0fbfb73 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_with lowmem_builder
 %if 0%{?fedora} || 0%{?rhel}