aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 4af053d..c65d300 100644
--- a/rpmtools.pm
+++ b/rpmtools.pm
@@ -428,7 +428,7 @@ sub compute_depslist {
$id == $pkg->{id} || $base or push @requires_id, $id;
}
#- cannot remove requires values as they are necessary for closure on incremental job.
- $pkg->{deps} = join(' ', map { join '|', @{ref $_ ? $_ : [$_]} } @requires_id);
+ $pkg->{deps} = join(' ', map { join '|', sort { $a <=> $b } @{ref $_ ? $_ : [$_]} } @requires_id);
push @{$params->{depslist}}, $pkg;
}
1;
diff --git a/rpmtools.spec b/rpmtools.spec
index e7f1dab..b7a3d69 100644
--- a/rpmtools.spec
+++ b/rpmtools.spec
@@ -1,5 +1,5 @@
%define name rpmtools
-%define release 7mdk
+%define release 8mdk
# do not modify here, see Makefile in the CVS
%define version 4.2
@@ -53,6 +53,9 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/perl5/man/*/*
%changelog
+* Wed Mar 6 2002 François Pons <fpons@mandrakesoft.com> 4.2-8mdk
+- partial fix, now choices are really sorted in depslist.ordered.
+
* Wed Mar 6 2002 François Pons <fpons@mandrakesoft.com> 4.2-7mdk
- was sure choices in depslist.ordered was sorted, this was not
the case, but not for the final, it will be.