aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/pkg.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Rpmdrake/pkg.pm')
-rw-r--r--Rpmdrake/pkg.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index 7eb3ec23..f29efd7e 100644
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -109,7 +109,7 @@ sub extract_header {
my $medium = pkg2medium($p, $urpm);
my ($local_source, %xml_info_pkgs);
if (my $dir = urpm::file_from_local_url($medium->{url})) {
- $local_source = "$dir/" . $p->header_filename;
+ $local_source = "$dir/" . $p->filename;
$urpm->{log}("getting information from rpms from $dir");
} else {
foreach my $xml_info ('info', 'files', 'changelog') {