Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 197292 - Review Request: perl-Contextual-Return
Summary: Review Request: perl-Contextual-Return
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jason Tibbitts
QA Contact: Fedora Package Reviews List
URL:
Whiteboard:
Depends On:
Blocks: FE-ACCEPT 197304
TreeView+ depends on / blocked
 
Reported: 2006-06-29 23:25 UTC by Chris Weyl
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-07-03 17:56:07 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Chris Weyl 2006-06-29 23:25:05 UTC
Spec URL: http://home.comcast.net/~ckweyl/perl-Contextual-Return.spec
SRPM URL: http://home.comcast.net/~ckweyl/perl-Contextual-Return-v0.1.0-0.fc5.src.rpm

Description: 
This module allows you to define return values of a perl sub which are
appropriate given the calling context.

Comment 1 Jason Tibbitts 2006-06-30 00:23:32 UTC
Note that BuildRequires: perl is not required, and BuildRequires:
perl(Test::More) is doubly redundant as it is part of the base Perl package.

For some reason this package provides perl(Carp) and perl(DB), probably because
the dependency generator finds "package Carp" and "package DB" somewhere in the
package.  You will need to filter these.

Some tests are skipped due to missing modules.  You should add BR:
perl(Test::Pod) and perl(Test::Pod::Coverage) for better test coverage.

Review:
* package meets naming and packaging guidelines.
* specfile is properly named, is cleanly written and uses macros consistently.
* dist tag is present.
* build root is correct.
* license field matches the actual license.
* license is open source-compatible.  License text not included upstream.
* source files match upstream:
   2651c1c521ad4b42e0efbeac664fade6  Contextual-Return-v0.1.0.tar.gz
* latest version is being packaged.
O BuildRequires are proper (perl and perl(Test::More) are unnecessary)
* package builds in mock (development, x86_64).
* rpmlint is silent.
X final provides and requires are sane:
X  perl(Carp)
   perl(Contextual::Return)
   perl(Contextual::Return::Failure)
   perl(Contextual::Return::Lvalue)
   perl(Contextual::Return::Value)
X  perl(DB)
   perl-Contextual-Return = v0.1.0-0.fc6
  =
   perl(:MODULE_COMPAT_5.8.8)
   perl(Carp)
   perl(Contextual::Return)
   perl(Scalar::Util)
   perl(Want)
   perl(overload)
   perl(strict)
   perl(version)
   perl(warnings)
* no shared libraries are present.
* package is not relocatable.
* owns the directories it creates.
* doesn't own any directories it shouldn't.
* no duplicates in %files.
* file permissions are appropriate.
* %clean is present.
X %check is present and all tests pass, but some are skipped due to missing
modules which are present in the distro:
   All tests successful, 2 tests skipped.
   Files=17, Tests=180,  1 wallclock secs ( 0.62 cusr +  0.21 csys =  0.83 CPU)
* no scriptlets present.
* code, not content.
* documentation is small, so no -docs subpackage is necessary.
* %docs are not necessary for the proper functioning of the package.
* no headers.
* no pkgconfig files.
* no libtool .la droppings.
* not a GUI app.

Comment 3 Jason Tibbitts 2006-07-03 17:11:11 UTC
All tests now pass with none skipped:
   All tests successful.
   Files=17, Tests=184,  1 wallclock secs ( 0.75 cusr +  0.28 csys =  1.03 CPU)

The provides are OK now:
   perl(Contextual::Return)
   perl(Contextual::Return::Failure)
   perl(Contextual::Return::Lvalue)
   perl(Contextual::Return::Value)
   perl-Contextual-Return = v0.1.0-0.1.fc6

APPROVED

Comment 4 Chris Weyl 2006-07-03 17:56:07 UTC
Imported and building for devel -- will build for FC-4, FC-5 after branching.

Thanks!


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