]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
build/ops: rpm: recommend python-influxdb with ceph-mgr 18511/head
authorNathan Cutler <ncutler@suse.com>
Tue, 24 Oct 2017 13:28:33 +0000 (15:28 +0200)
committerNathan Cutler <ncutler@suse.com>
Wed, 25 Oct 2017 07:42:47 +0000 (09:42 +0200)
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 <ncutler@suse.com>
Signed-off-by: Tim Serong <tserong@suse.com>
ceph.spec.in

index f5fc9d995b1368632e81cd92a3e40fedd4272fa9..cba1b8674d416f04273fd99eac7aa50343570b4a 100644 (file)
@@ -330,6 +330,7 @@ Requires:       pyOpenSSL
 Requires:      python-CherryPy
 Requires:       python-Werkzeug
 Requires:       python-pyOpenSSL
+Recommends:     python-influxdb
 %endif
 Requires:       python-pecan
 %description mgr