Bug 517497 - Review Request: perl-Nagios-Plugin - Family of perl modules to streamline writing Nagios plugins
Summary: Review Request: perl-Nagios-Plugin - Family of perl modules to streamline wri...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Emmanuel Seyman
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-08-14 11:46 UTC by Ruben Kerkhof
Modified: 2014-06-30 12:03 UTC (History)
5 users (show)

Fixed In Version: 0.33-2.fc11
Clone Of:
Environment:
Last Closed: 2009-09-09 01:54:20 UTC
Type: ---
Embargoed:
emmanuel: fedora-review+
gwync: fedora-cvs+


Attachments (Terms of Use)

Description Ruben Kerkhof 2009-08-14 11:46:30 UTC
Spec URL: http://ruben.fedorapeople.org/perl-Nagios-Plugin.spec
SRPM URL: http://ruben.fedorapeople.org/perl-Nagios-Plugin-0.33-1.fc11.src.rpm
Description:
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
entire Nagios::Plugin::* collection, and Nagios::Plugin::Functions,
providing a simpler functional interface to a useful subset of the
available functionality.

Comment 1 Ralf Corsepius 2009-08-14 12:12:38 UTC
Package doesn't build:
...
ERROR: Bad build req: No Package Found for perl(Math::Calc::Units).
...


These 2 requires probaly are unneccessary:
...
Requires:       perl(Class::Accessor)
Requires:       perl(Config::Tiny)
...
However, as this package currently doesn't build, it's hard to verify if they really are required.

Comment 2 Ruben Kerkhof 2009-08-14 13:08:33 UTC
Hi Ralf,

Hmm, I might have been bitten by the freeze, perl-Math-Calc-Units for f-11 is in updates-testing now but hasn't been pushed to rawhide yet.

Those 2 Requires:
Requires:       perl(Class::Accessor)
Requires:       perl(Config::Tiny)

are necessary, they're not automatically picked up by rpm and the package doesn't work without them.

Comment 3 Emmanuel Seyman 2009-08-25 08:11:32 UTC
Review:
+ package builds in koji (dist-f12).
koji Build =>http://koji.fedoraproject.org/koji/taskinfo?taskID=1631629
+ rpmlint is silent for SRPM and for RPM.
+ source files match upstream url
7f5e00a3d683b1d39b169d9d772de33b  Nagios-Plugin-0.33.tar.gz
+ package meets naming and packaging guidelines.
+ specfile is properly named, is cleanly written
+ Spec file is written in American English.
+ Spec file is legible.
+ dist tag is present.
+ build root is correct.
+ license is open source-compatible.
+ %doc is present.
+ BuildRequires are proper.
+ %clean is present.
+ package installed properly.
+ Macro use appears rather consistent.
+ Package contains code, not content.
+ no headers or static libraries.
+ no .pc file present.
+ no -devel subpackage
+ no .la files.
+ no translations are available
+ Does owns the directories it creates.
+ no scriptlets present.
+ no duplicates in %files.
+ file permissions are appropriate.
+ make test gave
All tests successful.
Files=16, Tests=969,  6 wallclock secs ( 0.29 usr  0.02 sys +  5.01 cusr  0.17 csys =  5.49 CPU)
Result: PASS
+ Package  perl-Nagios-Plugin-0.33-1.fc12.noarch =>
Provides: perl(Nagios::Plugin) = 0.33
          perl(Nagios::Plugin::Config)
          perl(Nagios::Plugin::ExitResult)
          perl(Nagios::Plugin::Functions) = 0.33
          perl(Nagios::Plugin::Getopt)
          perl(Nagios::Plugin::Performance)
          perl(Nagios::Plugin::Range)
          perl(Nagios::Plugin::Threshold)
Requires: perl(Carp)
          perl(Exporter)
          perl(File::Basename)
          perl(File::Spec)
          perl(Getopt::Long)
          perl(Math::Calc::Units)
          perl(Nagios::Plugin::Config)
          perl(Nagios::Plugin::Functions)
          perl(Nagios::Plugin::Range)
          perl(Nagios::Plugin::Threshold)
Requires: perl(Carp)
          perl(Exporter)
          perl(File::Basename)
          perl(File::Spec)
          perl(Getopt::Long)
          perl(Math::Calc::Units)
          perl(Nagios::Plugin::Config)
          perl(Nagios::Plugin::Functions)
          perl(Nagios::Plugin::Range)
          perl(Nagios::Plugin::Threshold)
          perl(Params::Validate) perl(base)
          perl(constant)
          perl(overload)
          perl(strict)
          perl(vars)
          perl(warnings)
+ Not a GUI application

Should:
1) License text is not included in package.

This module does not contain the text of the licenses it is licensed under.
Please contact upstream and encourage them to correct this mistake.

APPROVED.

Comment 4 Ralf Corsepius 2009-08-25 08:38:43 UTC
MISSING:
R: perl(Class::Accessor::Fast)

WRONG:
R: perl(base)

Comment 5 Emmanuel Seyman 2009-08-25 09:07:54 UTC
(In reply to comment #4)
>
> MISSING:
> R: perl(Class::Accessor::Fast)

Correct.

Ruben, please add "perl(Class::Accessor::Fast)". Like the other two, it's also used as a base module and we can't guarantee that it will always be provided by the rpm that provides "perl(Class::Accessor)".

> WRONG:
> R: perl(base)  

How so?

Comment 6 Ralf Corsepius 2009-08-25 10:18:51 UTC
(In reply to comment #5)
> (In reply to comment #4)

> > WRONG:
> > R: perl(base)  
> 
> How so?  
Sorry, scratch this remark - I was in error :(

Comment 7 Emmanuel Seyman 2009-08-25 12:24:47 UTC
(In reply to comment #6)
>
> Sorry, scratch this remark - I was in error :(  

No sweat, Ralf. Thanks for catching my mistake.

Comment 8 Ruben Kerkhof 2009-08-27 14:15:49 UTC
Ok, I've added perl(Class:Accessor::Fast), thanks for catching this.
And thanks for the review, both of you.

New Package CVS Request
=======================
Package Name: perl-Nagios-Plugin
Short Description: Family of perl modules to streamline writing Nagios plugins
Owners: ruben
Branches: F-11

Comment 9 Emmanuel Seyman 2009-08-27 20:49:02 UTC
Ruben, you need to ask the flag dedora-cvs (ie, make it fedora-cvs?, not fedora-cvs+). The CVS admin will put it to '+' when he has created the module.

Comment 10 Ralf Corsepius 2009-08-27 21:25:44 UTC
While we're at it. Please add
InitialCC: perl-sig
to all "New Package CVS Requests" of perl-modules.

TIA

Comment 11 Ruben Kerkhof 2009-08-28 09:52:39 UTC
I must have been sleepwalking :-)
Let's try again.

New Package CVS Request
=======================
Package Name: perl-Nagios-Plugin
Short Description: Family of perl modules to streamline writing Nagios plugins
Owners: ruben
Branches: F-11
InitialCC: perl-sig

Comment 12 Jason Tibbitts 2009-08-28 14:41:32 UTC
CVS done.

Comment 13 Fedora Update System 2009-08-28 22:01:26 UTC
perl-Nagios-Plugin-0.33-2.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/perl-Nagios-Plugin-0.33-2.fc11

Comment 14 Fedora Update System 2009-08-31 23:39:45 UTC
perl-Nagios-Plugin-0.33-2.fc11 has been pushed to the Fedora 11 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update perl-Nagios-Plugin'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-9172

Comment 15 Ruben Kerkhof 2009-09-01 11:24:43 UTC
Package Change Request
======================
Package Name: perl-Nagios-Plugin
New Branches: EL-5
Owners: ruben jpo

Comment 16 Kevin Fenzi 2009-09-04 02:20:21 UTC
cvs done.

Comment 17 Fedora Update System 2009-09-09 01:54:15 UTC
perl-Nagios-Plugin-0.33-2.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 18 Jose Pedro Oliveira 2010-11-17 14:50:50 UTC
Package Change Request
======================
Package Name: perl-Nagios-Plugin
New Branches: EL-6
Owners: ruben jpo

Comment 19 Jason Tibbitts 2010-11-17 16:00:21 UTC
An el6 branch of this package already exists.

Comment 20 Jose Pedro Oliveira 2014-06-29 14:35:57 UTC
Package Change Request
======================
Package Name: perl-Nagios-Plugin
New Branches: EPEL-7
Owners: jpo

Comment 21 Gwyn Ciesla 2014-06-30 12:03:08 UTC
Git done (by process-git-requests).


Note You need to log in before you can comment on or make changes to this bug.