aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-03-26 13:39:43 +0000
committerFrancois Pons <fpons@mandriva.com>2001-03-26 13:39:43 +0000
commit45e82c9a63d4d62a690120eec997787522a7f915 (patch)
tree8b323f9b2df44e0c7bd9ab61b146fa8ead10bf9c
parent17b7820b1323fa3b5c281622fe249211d11a88c4 (diff)
downloadrpmtools-45e82c9a63d4d62a690120eec997787522a7f915.tar
rpmtools-45e82c9a63d4d62a690120eec997787522a7f915.tar.gz
rpmtools-45e82c9a63d4d62a690120eec997787522a7f915.tar.bz2
rpmtools-45e82c9a63d4d62a690120eec997787522a7f915.tar.xz
rpmtools-45e82c9a63d4d62a690120eec997787522a7f915.zip
*** empty log message ***
-rw-r--r--rpmtools.pm2
-rw-r--r--rpmtools.spec5
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).