aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Thauvin <nanardon@mandriva.org>2004-04-22 06:40:26 +0000
committerOlivier Thauvin <nanardon@mandriva.org>2004-04-22 06:40:26 +0000
commit76be293572106f4ed967980497918085339b04ba (patch)
treee02e28a61c43adf97b4ca1acac5ac8f81f2a540b
parent30cce8f1904a4b593c4d0a0f0181572bed06e5b6 (diff)
downloadperl-URPM-76be293572106f4ed967980497918085339b04ba.tar
perl-URPM-76be293572106f4ed967980497918085339b04ba.tar.gz
perl-URPM-76be293572106f4ed967980497918085339b04ba.tar.bz2
perl-URPM-76be293572106f4ed967980497918085339b04ba.tar.xz
perl-URPM-76be293572106f4ed967980497918085339b04ba.zip
- Don't pass whole %options to parse_rpm in parse_rpms_build_headers
-rw-r--r--URPM/Build.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/URPM/Build.pm b/URPM/Build.pm
index 3174647..62dacca 100644
--- a/URPM/Build.pm
+++ b/URPM/Build.pm
@@ -55,7 +55,7 @@ sub parse_rpms_build_headers {
$filename = $cache{$key}{file};
} else {
- ($id, undef) = $urpm->parse_rpm($_, %options);
+ ($id, undef) = $urpm->parse_rpm($_, keep_all_tags => $options{keep_all_tags});
unless (defined $id) {
if ($options{dontdie}) {
print STDERR "bad rpm $_\n";