aboutsummaryrefslogtreecommitdiffstats
path: root/rpmtools.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2000-09-04 16:41:04 +0000
committerFrancois Pons <fpons@mandriva.com>2000-09-04 16:41:04 +0000
commitcae24bfca78cf360a9a85f0aa97436ce810d4da0 (patch)
tree59064f75e2fe6a9485838c8e8b85414cdd9581c3 /rpmtools.pm
parent2e039c2cf245e35fc2168c6c535e775995cc3461 (diff)
downloadrpmtools-cae24bfca78cf360a9a85f0aa97436ce810d4da0.tar
rpmtools-cae24bfca78cf360a9a85f0aa97436ce810d4da0.tar.gz
rpmtools-cae24bfca78cf360a9a85f0aa97436ce810d4da0.tar.bz2
rpmtools-cae24bfca78cf360a9a85f0aa97436ce810d4da0.tar.xz
rpmtools-cae24bfca78cf360a9a85f0aa97436ce810d4da0.zip
*** empty log message ***
Diffstat (limited to 'rpmtools.pm')
-rw-r--r--rpmtools.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/rpmtools.pm b/rpmtools.pm
index 280e899..8b194d3 100644
--- a/rpmtools.pm
+++ b/rpmtools.pm
@@ -183,7 +183,7 @@ sub compute_depslist {
foreach (@$_) {
my ($id, $base) = $params->{info}{$_} ? ($params->{info}{$_}{id},
$params->{use_base_flag} && exists $params->{info}{$_}{base}) : ($_, 0);
- $to_drop ||= $id == $pkg->{id} || $requires_id{$id} || $base;
+ $to_drop ||= $id == $pkg->{id} || $requires_id{$id} || $pkg->{name} ne 'basesystem' && $base;
push @choices_id, $id;
}
$to_drop or push @requires_id, \@choices_id;
@@ -191,7 +191,7 @@ sub compute_depslist {
my ($id, $base) = $params->{info}{$_} ? ($params->{info}{$_}{id},
$params->{use_base_flag} && exists $params->{info}{$_}{base}) : ($_, 0);
$requires_id{$id} = $_;
- $id == $pkg->{id} or $base or push @requires_id, $id;
+ $id == $pkg->{id} || $pkg->{name} ne 'basesystem' && $base or push @requires_id, $id;
}
}
#- cannot remove requires values as they are necessary for closure on incremental job.