aboutsummaryrefslogtreecommitdiffstats
path: root/URPM/Build.pm
diff options
context:
space:
mode:
authorOlivier Thauvin <nanardon@mandriva.org>2004-04-18 23:15:37 +0000
committerOlivier Thauvin <nanardon@mandriva.org>2004-04-18 23:15:37 +0000
commit5e2dce8c729730cba981d35fe431ccfd689661df (patch)
treec27167e06851066157b94788b1ee5a719f934efe /URPM/Build.pm
parent2b6f8157feaaa81b00604a3f0a383ae06df36e0c (diff)
downloadperl-URPM-5e2dce8c729730cba981d35fe431ccfd689661df.tar
perl-URPM-5e2dce8c729730cba981d35fe431ccfd689661df.tar.gz
perl-URPM-5e2dce8c729730cba981d35fe431ccfd689661df.tar.bz2
perl-URPM-5e2dce8c729730cba981d35fe431ccfd689661df.tar.xz
perl-URPM-5e2dce8c729730cba981d35fe431ccfd689661df.zip
- add query_pkg function
- transmit %options to parse_rpm in parse_rpms_build_headers
Diffstat (limited to 'URPM/Build.pm')
-rw-r--r--URPM/Build.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/URPM/Build.pm b/URPM/Build.pm
index 88e6d5b..4e37edb 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($_);
+ ($id, undef) = $urpm->parse_rpm($_, %options);
unless (defined $id) {
if ($options{dontdie}) {
print STDERR "bad rpm $_\n";