From e8f3cac95471ca34f77307ec26564bcea181c295 Mon Sep 17 00:00:00 2001 From: Olivier Thauvin Date: Thu, 22 Apr 2004 05:33:39 +0000 Subject: - export keep_all_tags trought function in parse_rpm_build_headers --- URPM/Build.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'URPM') diff --git a/URPM/Build.pm b/URPM/Build.pm index 4e37edb..3174647 100644 --- a/URPM/Build.pm +++ b/URPM/Build.pm @@ -41,7 +41,7 @@ sub parse_rpms_build_headers { my ($id, $filename); if ($cache{$key} && $cache{$key}{time} > 0 && $cache{$key}{time} >= (stat $_)[9]) { - ($id, undef) = $urpm->parse_hdlist("$dir/$cache{$key}{file}", !$options{callback}); + ($id, undef) = $urpm->parse_hdlist("$dir/$cache{$key}{file}", keep_all_tags => $options{keep_all_tags}); unless (defined $id) { if ($options{dontdie}) { print STDERR "bad header $dir/$cache{$key}{file}\n"; @@ -81,7 +81,7 @@ sub parse_rpms_build_headers { if ($options{callback}) { $options{callback}->($urpm, $id, %options, (file => $_)); } else { - $pkg->pack_header; + $pkg->pack_header; } # Olivier Thauvin -- cgit v1.2.1