diff options
-rw-r--r-- | rpmtools.pm | 2 | ||||
-rw-r--r-- | rpmtools.spec | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/rpmtools.pm b/rpmtools.pm index 2154e84..5eb9407 100644 --- a/rpmtools.pm +++ b/rpmtools.pm @@ -286,7 +286,7 @@ sub compute_depslist { #- give an id to each packages, start from number of package already #- registered in depslist. my $global_id = scalar @{$params->{depslist}}; - foreach (sort { $ordered{$b->{name}} <=> $ordered{$a->{name}} } @info) { + foreach (sort { $ordered{$b->{name}} <=> $ordered{$a->{name}} || $a->{name} cmp $b->{name} } @info) { $_->{id} = $global_id++; } diff --git a/rpmtools.spec b/rpmtools.spec index d155d81..921ebdb 100644 --- a/rpmtools.spec +++ b/rpmtools.spec @@ -1,5 +1,5 @@ %define name rpmtools -%define release 14mdk +%define release 15mdk # do not modify here, see Makefile in the CVS %define version 2.3 @@ -51,6 +51,9 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/perl5/man/*/* %changelog +* Mon Mar 26 2001 François Pons <fpons@mandrakesoft.com> 2.3-15mdk +- fixed depslist sort algorithm to fix Aurora problems. + * Fri Mar 23 2001 François Pons <fpons@mandrakesoft.com> 2.3-14mdk - reverted rpmtools.xs modification. - simplified cleaner (include support for sense flag). |