From: Marcin Krol Date: Fri, 27 Nov 2015 11:30:58 +0000 (+0000) Subject: - fixed deps X-Git-Url: https://git.tld-linux.org/?p=packages%2Fmunin-plugins-hq.git;a=commitdiff_plain;h=8cb62ebb7547b2670a7f9644a6a2df853b52cb04 - fixed deps --- diff --git a/misc.patch b/misc.patch new file mode 100644 index 0000000..a7b4b50 --- /dev/null +++ b/misc.patch @@ -0,0 +1,11 @@ +diff -ur munin-plugins-hq-20151127.01.orig/plugins/hq_sensors munin-plugins-hq-20151127.01/plugins/hq_sensors +--- munin-plugins-hq-20151127.01.orig/plugins/hq_sensors 2015-11-26 07:09:54.000000000 +0000 ++++ munin-plugins-hq-20151127.01/plugins/hq_sensors 2015-11-27 11:29:08.847305000 +0000 +@@ -57,7 +57,6 @@ + use strict; + use warnings; + use Munin::Plugin; +-use Data::Dumper; + + # Handle autoconf + if(defined($ARGV[0]) and $ARGV[0] eq 'autoconf') { diff --git a/munin-plugins-hq.spec b/munin-plugins-hq.spec index 23b9e7b..28a3c1b 100644 --- a/munin-plugins-hq.spec +++ b/munin-plugins-hq.spec @@ -3,11 +3,12 @@ Summary: HQ Munin Plugins Summary(pl.UTF-8): Wtyczki HQ dla munina Name: munin-plugins-hq Version: 20151127.01 -Release: 1 +Release: 2 License: GPL Group: Daemons Source0: http://munin.furud.net/download/%{name}-%{version}.tar.xz # Source0-md5: 90b0a5625cb16ad2bd43b4bce326cfe2 +Patch0: misc.patch URL: http://munin.furud.net/ BuildRequires: perl-devel BuildRequires: rpm-perlprov @@ -224,7 +225,7 @@ Summary: Munin Plugin for monitoring host resources via SNMP Summary(pl.UTF-8): Wtyczka dla munina do monitorowania zasobów system poprzez SNMP Group: Daemons Requires: munin-node -Requires: snmp-hostmontools +Requires: perl-Net-SNMP %description snmp-host This Munin plugin allows monitoring of CPU, memory and storage usage, @@ -282,6 +283,7 @@ Ta wtyczka dla munina pozwala monitorować uptime systemu. %prep %setup -q +%patch0 -p1 %install rm -rf $RPM_BUILD_ROOT