]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
build/ops: rpm: fix _defined_if_python2_absent conditional 20166/head
authorNathan Cutler <ncutler@suse.com>
Mon, 29 Jan 2018 12:44:43 +0000 (13:44 +0100)
committerNathan Cutler <ncutler@suse.com>
Mon, 29 Jan 2018 13:17:00 +0000 (14:17 +0100)
commitf57e00db801d5dffa4e5fd1015251fc5c58d1513
tree38364cadd30240a48f4cf34bfb5eff69bca298dd
parentc41ef5a5ced6cd66bf32a04dfb0b575a260cd6e2
build/ops: rpm: fix _defined_if_python2_absent conditional

The expectation is that _defined_if_python2_absent will be defined
if (and only if) the python2 bcond is not set. Before this patch, if
somebody were to build the package on suse_version 1500 with
--with-python2, the _defined_if_python2_absent would be defined,
which is a bug.

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