- Timestamp:
- 06/20/06 13:14:49 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/debbuild
r67 r68 779 779 my $tmp = ''; 780 780 foreach my $dep (@deps) { 781 # Hack up the perl(Class::SubClass) deps into something dpkg can understand. 782 # May or may not be versioned. 783 # We do this first so the version rewriter can do its magic next. 784 if (my ($mod,$ver) = ($dep =~ /^perl\(([A-Za-z0-9\:\-]+)\)([><=]+.+)?/) ) { 785 $mod =~ s/^perl\(//; 786 $mod =~ s/\)$//; 787 $mod =~ s/::/-/g; 788 $mod =~ tr/A-Z/a-z/; 789 $mod = "lib$mod-perl"; 790 $mod .= $ver if $ver; 791 $dep = $mod; 792 } 781 793 if (my ($name,$rel,$value) = ($dep =~ /^([a-zA-Z0-9._-]+)([><=]+)([a-zA-Z0-9._-]+)$/)) { 782 794 $tmp .= ", $name ($rel $value)";
Note:
See TracChangeset
for help on using the changeset viewer.