aboutsummaryrefslogtreecommitdiffstats
path: root/rpmtools.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2002-03-06 18:51:57 +0000
committerFrancois Pons <fpons@mandriva.com>2002-03-06 18:51:57 +0000
commit8e922c8f0fcb2ab94136cc934372725d576e437d (patch)
tree17acbd1389b88480edb572918ebff5f20117080e /rpmtools.pm
parent1df3056c1208985de05b82b66ea929408674ca06 (diff)
downloadrpmtools-8e922c8f0fcb2ab94136cc934372725d576e437d.tar
rpmtools-8e922c8f0fcb2ab94136cc934372725d576e437d.tar.gz
rpmtools-8e922c8f0fcb2ab94136cc934372725d576e437d.tar.bz2
rpmtools-8e922c8f0fcb2ab94136cc934372725d576e437d.tar.xz
rpmtools-8e922c8f0fcb2ab94136cc934372725d576e437d.zip
4.2-7mdk, final ?
Diffstat (limited to 'rpmtools.pm')
-rw-r--r--rpmtools.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmtools.pm b/rpmtools.pm
index d8954c1..4af053d 100644
--- a/rpmtools.pm
+++ b/rpmtools.pm
@@ -413,7 +413,7 @@ sub compute_depslist {
if (@choices_id == 1) {
$id = $choices_id[0];
} else {
- my $choices_key = join '|', @choices_id;
+ my $choices_key = join '|', sort { $a <=> $b } @choices_id;
exists $requires_id{$choices_key} or push @requires_id, \@choices_id;
$requires_id{$choices_key} = undef;
next;