Commits

Anonymous committed 9759426

Fixed some regressions in run-time due to the latest changes

  • Participants
  • Parent commits 13a0dc3

Comments (0)

Files changed (1)

File CPANPLUS-Dist-Fedora/lib/CPANPLUS/Dist/Fedora.pm

     $status->distvers($module->package_version);
     $status->summary(_module_summary($module));
     $status->description(_module_description($module));
-    $status->license(_module_license($module));
+    $status->license($self->_module_license($module));
     #$status->disttop($module->name=~ /([^:]+)::/);
-    my $dir = $status->rpmdir($self->_current_dir());
+    my $dir = $status->rpmdir($self->_get_current_dir());
     $status->rpmvers(1);
 
     # Cache files
 sub _module_license
 {
     my $self = shift;
+    my $module = shift;
 
     return $self->_get_default_license();
 }
 #
 # my $summary = _module_summary($module);
 #
-# given a cpanplus::module, return its registered description (if any)
-# or try to extract it from the embedded pod in the extracted files.
+# Given a CPANPLUS::Module, return its registered description (if any)
+# or try to extract it from the embedded POD in the extracted files.
 #
 sub _module_summary {
     my ($module) = @_;