]> git.apps.os.sepia.ceph.com Git - ceph.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>
Fri, 18 Oct 2019 04:09:34 +0000 (12:09 +0800)
commit9b411586158f32034bfd0f685000a6450b65e3f6
tree38098ce2ec13aa46b3c4aafac1dad73db296e1c4
parentcad818557ae6833f1dc611cb697311145d53b3de
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>
(cherry picked from commit 50b19e673d8200306c3e36d1abaec414a3d336b9)
ceph.spec.in