]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
ceph.spec.in: use python_provide macro
authorKefu Chai <kchai@redhat.com>
Thu, 10 Oct 2019 01:54:50 +0000 (09:54 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 10 Oct 2019 02:34:47 +0000 (10:34 +0800)
commit50b19e673d8200306c3e36d1abaec414a3d336b9
treee7bc1b7bc4456eaa6546a04e1247227bf94cb734
parente748f5b0f38a0df118dab7eda0e0bde6c64fcd65
ceph.spec.in: use python_provide macro

our python3 bindings are now named `python3-<modname>` after python3 is
now maintained by RHEL/CentOS instead EPEL. to help the users using
`python36-<modname>`, we should "Provide" `python36-<modname>`.

the `python_provide` macro is offered by `python-rpm-macros` package,
which is in turn required by python*-devel. and we do install
`python36-devel` in install-deps.sh, and install `python3-devel` in
ceph-*build/build/setup_rpm

see also
https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_provides

Signed-off-by: Kefu Chai <kchai@redhat.com>
ceph.spec.in