aboutsummaryrefslogtreecommitdiffstats
path: root/rpmtools.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2002-01-30 11:45:00 +0000
committerFrancois Pons <fpons@mandriva.com>2002-01-30 11:45:00 +0000
commitfcfd7c7c73ca1c5e40895fe3934e758ed84f198e (patch)
tree0051753379188dbbd83d80bef3797302ba396e47 /rpmtools.pm
parent6c9afc93b0181d4e29c9a2dcb23d5760dfe02c2e (diff)
downloadrpmtools-fcfd7c7c73ca1c5e40895fe3934e758ed84f198e.tar
rpmtools-fcfd7c7c73ca1c5e40895fe3934e758ed84f198e.tar.gz
rpmtools-fcfd7c7c73ca1c5e40895fe3934e758ed84f198e.tar.bz2
rpmtools-fcfd7c7c73ca1c5e40895fe3934e758ed84f198e.tar.xz
rpmtools-fcfd7c7c73ca1c5e40895fe3934e758ed84f198e.zip
4.1-3mdk
Diffstat (limited to 'rpmtools.pm')
-rw-r--r--rpmtools.pm9
1 files changed, 8 insertions, 1 deletions
diff --git a/rpmtools.pm b/rpmtools.pm
index 90727eb..adcdcc2 100644
--- a/rpmtools.pm
+++ b/rpmtools.pm
@@ -337,6 +337,10 @@ sub compute_depslist {
foreach (keys %requires) {
$ordered{$_} += 10001;
}
+ } elsif ($_->{name} eq 'msec') {
+ foreach (keys %requires) {
+ $ordered{$_} += 20001;
+ }
} else {
foreach (keys %requires) {
++$ordered{$_};
@@ -346,12 +350,15 @@ sub compute_depslist {
#- some package should be sorted at the beginning.
my $fixed_weight = 10000;
- foreach (qw(basesystem filesystem setup glibc sash bash libtermcap2 termcap readline ldconfig)) {
+ foreach (qw(basesystem msec * locales filesystem setup glibc sash bash libtermcap2 termcap readline ldconfig)) {
foreach (keys %{$params->{provides}{$_} || {}}) {
$ordered{$_} = $fixed_weight;
}
$fixed_weight += 10000;
}
+ foreach (grep { /locales-[a-zA-Z]/ } keys %ordered) {
+ $ordered{$_} = 35000;
+ }
#- compute base flag, consists of packages which are required without
#- choices of basesystem and are ALWAYS installed. these packages can