summaryrefslogtreecommitdiffstats
path: root/rpm-find-leaves
diff options
context:
space:
mode:
Diffstat (limited to 'rpm-find-leaves')
-rw-r--r--rpm-find-leaves3
1 files changed, 1 insertions, 2 deletions
diff --git a/rpm-find-leaves b/rpm-find-leaves
index 731e8e5b..8ce66809 100644
--- a/rpm-find-leaves
+++ b/rpm-find-leaves
@@ -46,8 +46,7 @@ my $leaves = urpm::select::installed_leaves($urpm, $discard);
if ($options{fullname}) {
foreach my $k (sort keys %$leaves) {
- my $l = $leaves->{$k};
- print $l->name, '-', $l->version, '-', $l->release, '.', $l->arch, "\n";
+ print scalar($leaves->{$k}->fullname), "\n";
}
} else {
print "$_\n" foreach sort keys %$leaves;