diff options
author | Francois Pons <fpons@mandriva.com> | 2001-03-26 13:39:43 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2001-03-26 13:39:43 +0000 |
commit | 45e82c9a63d4d62a690120eec997787522a7f915 (patch) | |
tree | 8b323f9b2df44e0c7bd9ab61b146fa8ead10bf9c /rpmtools.pm | |
parent | 17b7820b1323fa3b5c281622fe249211d11a88c4 (diff) | |
download | rpmtools-45e82c9a63d4d62a690120eec997787522a7f915.tar rpmtools-45e82c9a63d4d62a690120eec997787522a7f915.tar.gz rpmtools-45e82c9a63d4d62a690120eec997787522a7f915.tar.bz2 rpmtools-45e82c9a63d4d62a690120eec997787522a7f915.tar.xz rpmtools-45e82c9a63d4d62a690120eec997787522a7f915.zip |
*** empty log message ***
Diffstat (limited to 'rpmtools.pm')
-rw-r--r-- | rpmtools.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmtools.pm b/rpmtools.pm index 2154e84..5eb9407 100644 --- a/rpmtools.pm +++ b/rpmtools.pm @@ -286,7 +286,7 @@ sub compute_depslist { #- give an id to each packages, start from number of package already #- registered in depslist. my $global_id = scalar @{$params->{depslist}}; - foreach (sort { $ordered{$b->{name}} <=> $ordered{$a->{name}} } @info) { + foreach (sort { $ordered{$b->{name}} <=> $ordered{$a->{name}} || $a->{name} cmp $b->{name} } @info) { $_->{id} = $global_id++; } |