--- /dev/null
+--- a/lib/App/Monitoring/Plugin/CheckRaid/Plugins/arcconf.pm.org 2016-12-26 21:40:17.000000000 +0100
++++ b/lib/App/Monitoring/Plugin/CheckRaid/Plugins/arcconf.pm 2017-02-01 12:15:26.041797097 +0100
+@@ -255,7 +255,7 @@ sub parse_ctrl_config {
+ }
+ }
+
+- } elsif ($section eq 'MaxCache 3.0 information') {
++ } elsif (lc $section eq 'maxcache 3.0 information') {
+ # not parsed yet
+ } elsif ($section eq 'Connector information') {
+ # not parsed yet
Group: Applications
Source0: https://github.com/glensc/nagios-plugin-check_raid/archive/%{version}/%{name}-%{version}.tar.gz
# Source0-md5: 75ad1f75d22ae33996bfb16103c59328
+Patch0: maxcache.patch
URL: https://github.com/glensc/nagios-plugin-check_raid
BuildRequires: perl-ExtUtils-MakeMaker-CPANfile
BuildRequires: perl-Module-Pluggable >= 5.1
%prep
%setup -qc
mv nagios-plugin-check_raid-*/* .
+%patch0 -p1
%build
# version check exits with "3", here's explanation: