]> git-server-git.apps.pok.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:18:14 +0000 (12:18 +0800)
commit8eb0fac3c209975ba251fc9ca580f5dbfdef8907
treeccc91366aa48b1ffc58ddf34dffde552bd36a331
parent1bc9b1f077cabbda800d949906569e5bf2edf32e
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