]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rpm: pass %{python3_version} to cmake 27382/head
authorKefu Chai <kchai@redhat.com>
Thu, 4 Apr 2019 04:07:25 +0000 (12:07 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 4 Apr 2019 15:57:07 +0000 (23:57 +0800)
commit95ee8c5b9eefef1d6e6c1ed45e9ec7758efb1e8c
tree101f3f1cc6862ab03af7317b1da60cac0026fdef
parentb465e953deaf93dbed4c1beac17a52fe852c4bde
rpm: pass %{python3_version} to cmake

to force cmake to use the python3 and python3 modules for building
python3 bindings

on the debian side, it's okay to continue using "-DWITH_PYTHON3=ON", as

- cmake does normalize "ON" to 3
- debian's cmake extension lives on /usr/lib/python3/dist-packages/
  not in a specific /usr/lib/python3.x/dist-packages directory

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 7681a38ce51743a19ec5679d49b362f04e271ddb)
ceph.spec.in