From: Fᴀʙɪᴇɴ Wᴇʀɴʟɪ Date: Mon, 17 Jun 2019 11:06:45 +0000 (+0200) Subject: fix deps X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=9e5b363dda7306b628c1bf91c349ed51f11dbae6;p=collectd.git fix deps Change-Id: I8199655fcd22082a2f3cfb0e5ab7db289df1a5e7 --- diff --git a/contrib/redhat/collectd.spec b/contrib/redhat/collectd.spec index ddb47a3f..85b7aac3 100644 --- a/contrib/redhat/collectd.spec +++ b/contrib/redhat/collectd.spec @@ -216,7 +216,10 @@ %define with_xencpu 0%{!?_without_xencpu:0} # plugin zone disabled, requires Solaris %define with_zone 0%{!?_without_zone:0} -# requires cuda (I think) +# plugin gpu_nvidia requires cuda-nvml-dev +# get it from https://developer.nvidia.com/cuda-downloads +# then use rpm2cpio to extract it from the huge cuda-repo rpm +# rpm2cpio cuda-repo-rhel7-10-1-local-10.1.168-418.67-1.0-1.x86_64.rpm | cpio -icv '*cuda-nvml-dev-10-1-10.1.168-1.x86_64.rpm' '*cuda-license-10-1-10.1.168-1.x86_64.rpm' %define with_gpu_nvidia 0%{!?_without_gpu_nvidia:0} # not sure why this one's failing %define with_write_stackdriver 0%{!?_without_write_stackdriver:0} @@ -966,7 +969,7 @@ The riemann plugin submits values to Riemann, an event stream processor. Summary: stackdriver plugin for collectd Group: System Environment/Daemons Requires: %{name}%{?_isa} = %{version}-%{release} -BuildRequires: curl-devel, libxml2-devel, liboauth-devel +BuildRequires: curl-devel, yajl-devel, openssl-devel %description write_stackdriver The write_stackdriver collectd plugin writes metrics to the Google Stackdriver Monitoring service. @@ -977,7 +980,7 @@ Google Stackdriver Monitoring service. Summary: stackdriver plugin for collectd Group: System Environment/Daemons Requires: %{name}%{?_isa} = %{version}-%{release} -BuildRequires: curl-devel, libxml2-devel, liboauth-devel +BuildRequires: cuda-nvml-dev-10-1 %description gpu_nvidia The gpu_nvidia collectd plugin collects NVidia GPU metrics. %endif