commit da76394733c9655601be25c04896e0689e459e3d Author: Petr Šabata <contyk@xxxxxxxxxx> Date: Mon Dec 8 16:54:40 2014 +0100 0.37 bump; this module is now deprecated in favour of Monitoring::Plugin .gitignore | 1 + perl-Nagios-Plugin.spec | 44 ++++++++++++++++++++++++++++---------------- sources | 2 +- 3 files changed, 30 insertions(+), 17 deletions(-) --- diff --git a/.gitignore b/.gitignore index 3c6fc42..91c4418 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ Nagios-Plugin-0.34.tar.gz /Nagios-Plugin-0.35.tar.gz /Nagios-Plugin-0.36.tar.gz +/Nagios-Plugin-0.37.tar.gz diff --git a/perl-Nagios-Plugin.spec b/perl-Nagios-Plugin.spec index 5823257..34996db 100644 --- a/perl-Nagios-Plugin.spec +++ b/perl-Nagios-Plugin.spec @@ -1,30 +1,41 @@ Name: perl-Nagios-Plugin -Version: 0.36 -Release: 8%{?dist} +Version: 0.37 +Release: 1%{?dist} Summary: Family of perl modules to streamline writing Nagios plugins License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Nagios-Plugin/ Source0: http://www.cpan.org/modules/by-module/Nagios/Nagios-Plugin-%{version}.tar.gz BuildArch: noarch +# Build +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 +# Runtime BuildRequires: perl(base) BuildRequires: perl(constant) -BuildRequires: perl(Carp) -BuildRequires: perl(Class::Accessor) -BuildRequires: perl(Class::Accessor::Fast) -BuildRequires: perl(Config::Tiny) -BuildRequires: perl(Data::Dumper) BuildRequires: perl(Exporter) -BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Monitoring::Plugin) +BuildRequires: perl(Monitoring::Plugin::Config) +BuildRequires: perl(Monitoring::Plugin::ExitResult) +BuildRequires: perl(Monitoring::Plugin::Functions) +BuildRequires: perl(Monitoring::Plugin::Getopt) +BuildRequires: perl(Monitoring::Plugin::Performance) +BuildRequires: perl(Monitoring::Plugin::Range) +BuildRequires: perl(Monitoring::Plugin::Threshold) +BuildRequires: perl(strict) +# Tests only +BuildRequires: perl(Data::Dumper) +BuildRequires: perl(File::Basename) BuildRequires: perl(File::Spec) -BuildRequires: perl(Getopt::Long) BuildRequires: perl(IO::File) -BuildRequires: perl(Math::Calc::Units) -BuildRequires: perl(Params::Validate) BuildRequires: perl(Test::More) >= 0.62 -Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +BuildRequires: perl(vars) +BuildRequires: perl(warnings) +Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) %description +This module is deprecated in favour of Monitoring::Plugin. + Nagios::Plugin and its associated Nagios::Plugin::* modules are a family of perl modules to streamline writing Nagios plugins. The main end user modules are Nagios::Plugin, providing an object-oriented interface to the @@ -36,13 +47,11 @@ available functionality. %setup -q -n Nagios-Plugin-%{version} %build -perl Makefile.PL INSTALLDIRS=vendor +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 make %{?_smp_mflags} %install -make pure_install PERL_INSTALL_ROOT=%{buildroot} -find %{buildroot} -type f -name .packlist -exec rm -f {} \; -find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; +make pure_install DESTDIR=%{buildroot} %{_fixperms} %{buildroot}/* %check @@ -54,6 +63,9 @@ make test %{_mandir}/man3/Nagios::Plugin* %changelog +* Mon Dec 08 2014 Petr Šabata <contyk@xxxxxxxxxx> - 0.37-1 +- 0.37 bump; this module is now deprecated in favour of Monitoring::Plugin + * Fri Aug 29 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 0.36-8 - Perl 5.20 rebuild diff --git a/sources b/sources index bbd9a34..a106b77 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -b897f6d5d66a655dde7caec579efcf2e Nagios-Plugin-0.36.tar.gz +bc9de12186b42872b49dbbf9118c8045 Nagios-Plugin-0.37.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel