# TODO
# - see and adopt: http://gist.github.com/359890
%define plugin check_raid
+ %include /usr/lib/rpm/macros.perl
Summary: Nagios plugin to check current server's RAID status
Name: nagios-plugin-%{plugin}
- Version: 3.2.5
-Version: 4.0
-Release: 0.2
++Version: 4.0.0
+Release: 1
License: GPL v2
Group: Networking
-#Source0: https://github.com/glensc/nagios-plugin-check_raid/archive/%{version}/%{name}-%{version}.tar.gz
-Source0: https://github.com/glensc/nagios-plugin-check_raid/archive/master/%{name}-%{version}.tar.gz
-# Source0-md5: 282b06fa7ffce9572688ec14db2f9630
+Source0: https://github.com/glensc/nagios-plugin-check_raid/archive/%{version}/%{name}-%{version}.tar.gz
- # Source0-md5: b7eaa179090cbb8ed14e9163f6c0c8f3
++# Source0-md5: 05c61d398ebf2211d0275e76c33906df
URL: https://github.com/glensc/nagios-plugin-check_raid
+ BuildRequires: perl-Monitoring-Plugin >= 0.37
+ BuildRequires: rpm-perlprov >= 4.1-13
BuildRequires: rpmbuild(macros) >= 1.685
Requires: grep
Requires: nagios-common