aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-03-24 15:36:48 +0000
committerThierry Vignaud <tv@mageia.org>2012-03-24 15:36:48 +0000
commit5aa175144ae2b9d3832dec1c522689210b887d82 (patch)
treefd71c151e893e94108e31c0e835500c01ef4d7d2
parent5c65d58c39581f3f9530fa6b25ae63c0aa4370e6 (diff)
downloadiurt-5aa175144ae2b9d3832dec1c522689210b887d82.tar
iurt-5aa175144ae2b9d3832dec1c522689210b887d82.tar.gz
iurt-5aa175144ae2b9d3832dec1c522689210b887d82.tar.bz2
iurt-5aa175144ae2b9d3832dec1c522689210b887d82.tar.xz
iurt-5aa175144ae2b9d3832dec1c522689210b887d82.zip
(find_provides) drop unused arg
-rwxr-xr-xiurt24
1 files changed, 2 insertions, 2 deletions
diff --git a/iurt2 b/iurt2
index 93cb1f0..2111d2b 100755
--- a/iurt2
+++ b/iurt2
@@ -946,7 +946,7 @@ retry:
plog('DEBUG', "calling callback for $opt->{hash}");
if ($output =~ m!/bin/ld: cannot find -l(\S*)|configure.*error.* (?:-l(\S+)|(\S+) includes)!) {
my $missing = $1;
- my @rpm = find_provides(\%run, \%pack_provide, $missing);
+ my @rpm = find_provides(\%pack_provide, $missing);
plog(5, "likely @rpm ($missing-devel) needed to rebuilt $srpm is not in build_requires");
if ($maintainer ne 'NOT_FOUND') {
$opt->{mail} = $maintainer;
@@ -1504,7 +1504,7 @@ sub send_status_mail {
}
sub find_provides {
- my ($_run, $pack_provide, $p) = @_;
+ my ($pack_provide, $p) = @_;
my @rpm;
foreach my $provides (keys %{pack_provide}) {
if ($provides =~ /$p/ && $provides =~ /devel/) {