diff --git a/.gitignore b/.gitignore index 09d6ee7..8c767e6 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /check_updates-1.4.8.tar.gz /check_updates-1.4.9.tar.gz /check_updates-1.4.11.tar.gz +/check_updates-1.4.12.tar.gz diff --git a/nagios-plugins-check-updates.spec b/nagios-plugins-check-updates.spec index 91a2289..76e9a8b 100644 --- a/nagios-plugins-check-updates.spec +++ b/nagios-plugins-check-updates.spec @@ -5,8 +5,8 @@ %define debug_package %{nil} Name: nagios-plugins-check-updates -Version: 1.4.11 -Release: 2%{?dist} +Version: 1.4.12 +Release: 1%{?dist} Summary: A Nagios plugin to check if Red Hat or Fedora system is up-to-date Group: Applications/System @@ -17,6 +17,10 @@ Source: https://trac.id.ethz.ch/projects/nagios_plugins/downloads/check_u BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Test::More) +BuildRequires: perl(Nagios::Plugin) +BuildRequires: perl(Readonly) +BuildRequires: perl(Sort::Versions) Requires: nagios-plugins # Yum security plugin RPM: @@ -47,6 +51,9 @@ find %{buildroot} -type f -name "*.pod" -exec rm -f {} \; find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} %{buildroot}/* +%check +make test + %clean rm -rf %{buildroot} @@ -59,6 +66,10 @@ rm -rf %{buildroot} %changelog +* Tue May 24 2011 Jose Pedro Oliveira - 1.4.12-1 +- Update to 1.4.12. +- Upstream added a test suite. + * Tue Feb 08 2011 Fedora Release Engineering - 1.4.11-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild diff --git a/sources b/sources index 6bc97ec..793daab 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -f0d2752917811101d480ab6287b69f45 check_updates-1.4.11.tar.gz +345f1f031ce0159395d304aec84f8532 check_updates-1.4.12.tar.gz