aboutsummaryrefslogtreecommitdiffstats
path: root/iurt
diff options
context:
space:
mode:
Diffstat (limited to 'iurt')
-rwxr-xr-xiurt9
1 files changed, 3 insertions, 6 deletions
diff --git a/iurt b/iurt
index bdb7f4a..8888c9d 100755
--- a/iurt
+++ b/iurt
@@ -595,10 +595,7 @@ if (!-d "$local_spool/log") {
$run{local_spool} = $local_spool;
my $cache = {
- rpm_srpm => {},
queue => {},
- warning => {},
- run => 1,
};
$run{cache} = $cache;
@@ -831,7 +828,7 @@ retry:
# system("$sudo chroot $chroot_tmp rpm --rebuilddb &> /dev/null");
perform_command("rpm --root $chroot_tmp -qa | sort",
- \%run, $config, $cache,
+ \%run, $config,
logname => "rpm_qa",
hash => "rpm_qa_$srpm",
timeout => 60,
@@ -852,7 +849,7 @@ retry:
}
if (!perform_command(qq(chroot $chroot_tmp /bin/su - $luser -c "TMP=/home/$luser/tmp/ $icecream $command"),
- \%run, $config, $cache,
+ \%run, $config,
use_iurt_root_command => 1,
mail => $maintainer,
error => "[REBUILD] $srpm from $run{distro_tag} does not build correctly on $run{my_arch}",
@@ -1042,7 +1039,7 @@ process_queue($config, \%run, \@wrong_rpm);
plog('FAIL', "ERROR: RPM with a wrong SRPM name") if @wrong_rpm;
if (@wrong_rpm && open my $file, ">$local_spool/log/wrong_srpm_names.log") {
foreach (@wrong_rpm) {
- print $file "$_->[1] -> $_->[0] (", $cache->{rpm_srpm}{$_->[1]}, ")\n";
+ print $file "$_->[1] -> $_->[0]\n";
}
}