]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rpm: put numpy and scipy deps in distro conditionals
authorNathan Cutler <ncutler@suse.com>
Fri, 1 Mar 2019 12:54:07 +0000 (13:54 +0100)
committerNathan Cutler <ncutler@suse.com>
Wed, 6 Mar 2019 14:13:23 +0000 (15:13 +0100)
commit5a0846631c1251abf500a51ed2abcdd842c42487
treefbbc9b79f26c2ac98ac09a60ed1edc6aadab8319
parentbf23c64eeb71fec70efb77852f6e572bfddfffd3
rpm: put numpy and scipy deps in distro conditionals

Without this patch, attempts to install the ceph-mgr-diskprediction-local RPM
fail on SUSE platforms with the following error:

can't install ceph-mgr-diskprediction-local-14.1.0.402+ga396e8bf3b-3742.1.noarch:
  nothing provides numpy needed by ceph-mgr-diskprediction-local-14.1.0.402+ga396e8bf3b-3742.1.noarch
  nothing provides scipy needed by ceph-mgr-diskprediction-local-14.1.0.402+ga396e8bf3b-3742.1.noarch

Also take into account package naming differences between Fedora and
RHEL/CentOS.

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