diff --git a/pkgs/build-support/vm/rpm/rpm-closure.pl b/pkgs/build-support/vm/rpm/rpm-closure.pl index 8f7669d6fef8..6442cd91a957 100644 --- a/pkgs/build-support/vm/rpm/rpm-closure.pl +++ b/pkgs/build-support/vm/rpm/rpm-closure.pl @@ -90,7 +90,7 @@ for (my $i = 0; $i < scalar(@packagesFiles); $i++) { } my %provides; -PKG: foreach my $pkgName (keys %pkgs) { +PKG: foreach my $pkgName (sort(keys %pkgs)) { #print STDERR "looking at $pkgName\n"; my $pkg = $pkgs{$pkgName};