Handle perl-LDAP package

This commit is contained in:
Jamie Cameron
2007-12-15 01:09:04 +00:00
parent eb50b62a9e
commit 088531e155

View File

@ -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'}, });