From 8e922c8f0fcb2ab94136cc934372725d576e437d Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Wed, 6 Mar 2002 18:51:57 +0000 Subject: 4.2-7mdk, final ? --- rpmtools.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rpmtools.pm') 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; -- cgit v1.2.1