diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-09-21 11:31:05 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-09-21 11:31:05 +0000 |
commit | 300aee1bb2bf682cb16b646705032cf1505e2a43 (patch) | |
tree | 097c5f319498bdac186fd72e046070d33add3ab1 /Rpmdrake/pkg.pm | |
parent | 2e0c34747d00d7f0b5857b22913e32566a3380dd (diff) | |
download | rpmdrake-300aee1bb2bf682cb16b646705032cf1505e2a43.tar rpmdrake-300aee1bb2bf682cb16b646705032cf1505e2a43.tar.gz rpmdrake-300aee1bb2bf682cb16b646705032cf1505e2a43.tar.bz2 rpmdrake-300aee1bb2bf682cb16b646705032cf1505e2a43.tar.xz rpmdrake-300aee1bb2bf682cb16b646705032cf1505e2a43.zip |
use new URPM EVR package method
Diffstat (limited to 'Rpmdrake/pkg.pm')
-rw-r--r-- | Rpmdrake/pkg.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm index 12ab3452..3b171c4d 100644 --- a/Rpmdrake/pkg.pm +++ b/Rpmdrake/pkg.pm @@ -192,7 +192,7 @@ sub extract_header { sub find_installed_version { my ($p) = @_; my $version; - open_rpm_db()->traverse_tag_find('name', $p->name, sub { $version = evr($_[0]) }); + open_rpm_db()->traverse_tag_find('name', $p->name, sub { $version = $_[0]->EVR }); $version || N("(none)"); } |