Fix RT#57019: Fix bundling of File::Copy::Recursive.
Tomas Doran [Tue, 22 Mar 2011 09:16:46 +0000 (09:16 +0000)]
Changes
lib/Module/Install/Catalyst.pm

diff --git a/Changes b/Changes
index ca0c788..869c906 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,6 +1,8 @@
 This file documents the revision history for Perl extension Catalyst-Devel.
 
         - Fix RT#65907: missing build require: Test::Exception
+        - Fix RT#57019: Fix bundling of File::Copy::Recursive in inc/
+          by Module::Install::Catalyst
 
 1.31 2011-01-20 01:08:00
         - Fix for copying generated files into installed apps + tests
index 88bd642..5230d6f 100644 (file)
@@ -60,10 +60,7 @@ sub catalyst {
     my $self = shift;
 
     if($Module::Install::AUTHOR) {
-        $self->admin->copy_package(
-            'File::Copy::Recursive',
-            $INC{"File/Copy/Recursive.pm"},
-        );
+        $self->include("File::Copy::Recursive");
     }
 
     print <<EOF;