aboutsummaryrefslogtreecommitdiffstats
path: root/rpmtools.pm
diff options
context:
space:
mode:
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;