[Bug 461350] cpanspec nearly always misses the BuildRequires: perl(Test::More)

bugzilla at redhat.com bugzilla at redhat.com
Fri Jan 16 21:34:00 UTC 2009


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=461350


Bug Zapper <fedora-triage-list at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|rawhide                     |10

Steven Pritchard <steve at silug.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED




--- Comment #1 from Bug Zapper <fedora-triage-list at redhat.com>  2008-11-25 21:58:46 EDT ---

This bug appears to have been reported against 'rawhide' during the Fedora 10
development cycle.
Changing version to '10'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

--- Comment #2 from Steven Pritchard <steve at silug.org>  2009-01-16 16:33:59 EDT ---
Sorry I missed this before...

(In reply to comment #0)
> cpanspec nearly always misses the BuildRequires: perl(Test::More)  for test
> suite files.
> 
> I imagine this is because the 'use' statement often has trailing arguments
> 
>   use Test::More tests => 19;
> 
> instead of a more usual 
> 
>   use Test::More;

Actually, I wish it were that simple.  cpanspec only looks at CPAN metadata. 
If a dependency isn't in META.yml or Makefile.PL, it won't be picked up. 
Unfortunately, it seems like hardly anyone bothers to list Test::More as a
dependency.

The only way to fix this would be to use something like Module::ScanDeps, but
I've never been able to decide if that would be the right thing to do.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.




More information about the Fedora-perl-devel-list mailing list