Try to keep the names closer to alphabetical order.
authorRichard W.M. Jones <rjones@redhat.com>
Sun, 23 Nov 2008 19:35:57 +0000 (19:35 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Sun, 23 Nov 2008 19:35:57 +0000 (19:35 +0000)
smock/smock.pl

index 38c7375..0833b68 100755 (executable)
@@ -181,7 +181,7 @@ sub dependency_in
     0;
 }
 
-my @names = keys %srpms;
+my @names = sort keys %srpms;
 foreach my $name (@names) {
     my @buildrequires = @{$srpms{$name}->{buildrequires}};
     @buildrequires = grep { $_ = dependency_in ($_, @names) } @buildrequires;