From: Nathan Cutler Date: Tue, 24 Oct 2017 13:28:33 +0000 (+0200) Subject: build/ops: rpm: recommend python-influxdb with ceph-mgr X-Git-Tag: v13.0.1~406^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ca820fff9510ccd2b0aa9194b25d6bfde594ffdb;p=ceph.git build/ops: rpm: recommend python-influxdb with ceph-mgr The influxdb module won't run if python-influxdb is not present (but it will be graceful about not running). That means python-influxdb is a dependency of that module, not mgr itself. However, we are not (yet) packaging the modules separately. (When we do, this could become a Requires: of the module.) RPM itself does not support "Recommends", and ignores this line. Higher-level tools may or may not support it, so put this line in a SUSE-only conditional since we know that zypper supports it. Signed-off-by: Nathan Cutler Signed-off-by: Tim Serong --- diff --git a/ceph.spec.in b/ceph.spec.in index f5fc9d995b1..cba1b8674d4 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -330,6 +330,7 @@ Requires: pyOpenSSL Requires: python-CherryPy Requires: python-Werkzeug Requires: python-pyOpenSSL +Recommends: python-influxdb %endif Requires: python-pecan %description mgr