#2 Issues with Module::Build

closed-accepted
nobody
None
5
2004-02-06
2004-02-03
Stephen Clouse
No

A couple issues with Module::Build support:

1. Most modules include both a Build.PL and a
Makefile.PL (for backwards compatibility). cpan2rpm
currently checks for Makefile.PL first, and then
assumes MakeMaker semantics. The check order should be
switched.

2. The one Module::Build module you can't currently
package is....Module::Build itself. Unless you have it
installed already, cpan2rpm dies during the metadata phase.

This patch fixes both issues.

Discussion

  • Erick Calder
    Erick Calder
    2004-02-06

    • status: open --> closed-accepted
     
  • Erick Calder
    Erick Calder
    2004-02-06

    Logged In: YES
    user_id=575496

    thanks for submitting this patch. I've had a gander at it and it
    looked ok so I've applied it. the next release of the package
    should contain your fixes.

    in the meantime you can pick up the latest unreleased version from
    the home page at: http://perl.arix.com/cpan2rpm/