diff --git a/etch/tools/list2cds b/etch/tools/list2cds index 104975bd..46aef547 100755 --- a/etch/tools/list2cds +++ b/etch/tools/list2cds @@ -313,14 +313,17 @@ sub read_depends { my $i = shift; # Ref my $lines = shift; # Ref my $pkg = shift; # string - my $types = "(?:Pre)?Depends|Suggests|Recommends|Replaces|Conflicts"; + my $types = "(?:Pre)?Depends|Suggests|Recommends|Replaces|Conflicts|Breaks|Enhances"; my (@dep, @rec, @sug); my ($type, $or, $elt); while ($lines->[$$i] =~ m/^\s([\s\|])($types):/) { $type = $2; $or = $1; # Get rid of replaces and conflicts ... - if (($type eq "Replaces") or ($type eq "Conflicts")) { + if (($type eq "Replaces") or + ($type eq "Conflicts") or + ($type eq "Breaks") or + ($type eq "Enhances")) { $$i++; while ($lines->[$$i] =~ m/^\s{4}/) { $$i++;