perl-Path-Class/Path-Class-0.25-old-M::B.patch
Paul Howarth 400937b5c0 Update to 0.25
- New upstream release 0.25:
  - resolve() now croak()s instead of die()s on non-existent file
  - Added a traverse() method for directories, based on the fmap_cont() method
    of Forest::Tree::Pure; it's an alternative to ->recurse, which allows for
    more control over how the recursion happens
  - Fixed a grammar error in the docs
  - Added a tempfile() method for Dir objects, which provides an interface to
    File::Temp (CPAN RT#60485)
  - Fixed a non-helpful fatal error message when calling resolve() on a path
    that doesn't exist; now dies with the proper "No such file or directory"
    message and exit status
- BR: perl(Test::Perl::Critic) and run author tests where possible
- Add patch to support building with Module::Build < 0.3601
2012-02-16 12:06:20 +00:00

21 lines
453 B
Diff

Module::Build ≥ 0.3601 isn't actually needed by this package.
It builds just fine with version 0.2807 in EPEL-4.
--- Path-Class/Build.PL
+++ Path-Class/Build.PL
@@ -2,12 +2,12 @@
use strict;
use warnings;
-use Module::Build 0.3601;
+use Module::Build 0.2807;
my %module_build_args = (
"build_requires" => {
- "Module::Build" => "0.3601",
+ "Module::Build" => "0.2807",
"Test" => 0,
"Test::More" => 0,
"warnings" => 0