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

bugzilla at redhat.com bugzilla at redhat.com
Sat Sep 6 09:48:49 UTC 2008


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

Summary: cpanspec nearly always misses the BuildRequires:  perl(Test::More)

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

           Summary: cpanspec nearly always misses the BuildRequires:
                    perl(Test::More)
           Product: Fedora
           Version: rawhide
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: medium
          Priority: medium
         Component: cpanspec
        AssignedTo: steve at silug.org
        ReportedBy: berrange at redhat.com
         QAContact: extras-qa at fedoraproject.org
                CC: fedora-perl-devel-list at redhat.com
   Estimated Hours: 0.0
    Classification: Fedora


Description of problem:
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;

It'd be very helpful if cpanspec picked up this style, because then nearly all
its autogenerated specs would be correct.


Version-Release number of selected component (if applicable):
cpanspec-1.77-1.fc9.noarch

How reproducible:
Often

Steps to Reproduce:
1. cpanspec Data-Section-0.005.tar.gz
2.
3.

Actual results:
Missing BuildRequires: perl(Test::More)

Expected results:
All BuildRequires are correct

Additional info:

-- 
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