From 40e57e46a53f023816a7d8c80ec9ca1d0107f9f8 Mon Sep 17 00:00:00 2001 From: Al Bailey Date: Fri, 7 Jun 2019 13:15:55 -0500 Subject: [PATCH] Fix the runtime requirements for collectd-extensions The python code in the collectd-extensions requires several python modules in order to run, but is missing the explicit dependency against those modules in the package. These include: fm-api httplib2 influxdb oslo-concurrency tsconfig Change-Id: I9ace889fdb7fac031792486c3e5ddf3bc2cae770 Story: 2004764 Task: 33630 Signed-off-by: Al Bailey --- monitoring/collectd-extensions/centos/build_srpm.data | 2 +- .../collectd-extensions/centos/collectd-extensions.spec | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/monitoring/collectd-extensions/centos/build_srpm.data b/monitoring/collectd-extensions/centos/build_srpm.data index 4ab794d1a..f268418d7 100644 --- a/monitoring/collectd-extensions/centos/build_srpm.data +++ b/monitoring/collectd-extensions/centos/build_srpm.data @@ -22,4 +22,4 @@ COPY_LIST="$PKG_BASE/src/LICENSE \ $PKG_BASE/src/ptp.conf \ $PKG_BASE/src/example.py \ $PKG_BASE/src/example.conf" -TIS_PATCH_VER=11 +TIS_PATCH_VER=12 diff --git a/monitoring/collectd-extensions/centos/collectd-extensions.spec b/monitoring/collectd-extensions/centos/collectd-extensions.spec index fa8621b42..df780ac7e 100644 --- a/monitoring/collectd-extensions/centos/collectd-extensions.spec +++ b/monitoring/collectd-extensions/centos/collectd-extensions.spec @@ -41,6 +41,11 @@ BuildRequires: systemd-devel Requires: systemd Requires: collectd +Requires: fm-api +Requires: python-httplib2 +Requires: python-influxdb +Requires: python-oslo-concurrency +Requires: tsconfig Requires: /bin/systemctl %description