From 088531e1552c0bb6ad9e843bbe0f5935cb729e82 Mon Sep 17 00:00:00 2001 From: Jamie Cameron Date: Sat, 15 Dec 2007 01:09:04 +0000 Subject: [PATCH] Handle perl-LDAP package --- cpan/cpan-lib.pl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cpan/cpan-lib.pl b/cpan/cpan-lib.pl index a200e69f9..9bb4ee5df 100644 --- a/cpan/cpan-lib.pl +++ b/cpan/cpan-lib.pl @@ -339,6 +339,10 @@ foreach my $a (@avail) { $a->{'name'} =~ /^perl-(\S+)$/) { # Redhat local $mod = $1; $mod =~ s/-/::/g; + if ($mod eq "LDAP") { + # Special case for redhat-ish systems + $mod = "Net::LDAP"; + } push(@rv, { 'mod' => $mod, 'package' => $a->{'name'}, 'version' => $a->{'version'}, });