aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake
diff options
context:
space:
mode:
Diffstat (limited to 'Rpmdrake')
-rw-r--r--Rpmdrake/gui.pm1
-rw-r--r--Rpmdrake/pkg.pm3
2 files changed, 4 insertions, 0 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm
index 8994767b..3295db1f 100644
--- a/Rpmdrake/gui.pm
+++ b/Rpmdrake/gui.pm
@@ -445,6 +445,7 @@ sub pkgs_provider {
@filtered_pkgs = @{$h->{updates}}, @pkgs;
},
backports => sub { @filtered_pkgs = @{$h->{backports}} },
+ meta_pkgs => sub { @filtered_pkgs = @{$h->{meta_pkgs}} },
);
foreach my $importance (qw(bugfix security normal)) {
$filter_methods{$importance} = sub {
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index f29efd7e..66c9dae2 100644
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -456,11 +456,14 @@ sub get_pkgs {
# so there's no need to list the same package several time:
@installable_pkgs = uniq(difference2(\@installable_pkgs, \@updates));
+ my @meta_pkgs = (grep { /^task-/ } keys %all_pkgs);
+
+{ urpm => $urpm,
all_pkgs => \%all_pkgs,
installed => \@installed_pkgs,
installable => \@installable_pkgs,
updates => \@updates,
+ meta_pkgs => \@meta_pkgs,
update_descr => $update_descr,
backports => \@backports,
};