aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2017-10-03 19:13:31 +0100
committerPascal Terjan <pterjan@mageia.org>2017-10-03 21:05:27 +0100
commit8c6472680bbc28bd7e64570a70043d7a3d6ea7c3 (patch)
treee16a1aa4750bd8531fa7c89bfc8887491950225f
parente8f4a77c242470c6a9179c3c32a3926ea748a4c8 (diff)
downloadiurt-8c6472680bbc28bd7e64570a70043d7a3d6ea7c3.tar
iurt-8c6472680bbc28bd7e64570a70043d7a3d6ea7c3.tar.gz
iurt-8c6472680bbc28bd7e64570a70043d7a3d6ea7c3.tar.bz2
iurt-8c6472680bbc28bd7e64570a70043d7a3d6ea7c3.tar.xz
iurt-8c6472680bbc28bd7e64570a70043d7a3d6ea7c3.zip
kill "needed" and "buildrequires"
-rwxr-xr-xiurt3
-rw-r--r--lib/Iurt/Urpmi.pm5
2 files changed, 0 insertions, 8 deletions
diff --git a/iurt b/iurt
index d0ec6bf..bdb7f4a 100755
--- a/iurt
+++ b/iurt
@@ -599,7 +599,6 @@ my $cache = {
queue => {},
warning => {},
run => 1,
- needed => {},
};
$run{cache} = $cache;
@@ -883,8 +882,6 @@ retry:
}
# do some cleaning if the compilation is successful
- delete $cache->{needed}{$srpm} if defined $cache->{needed}{$srpm};
- delete $cache->{buildrequires}{$srpm} if defined $cache->{buildrequires}{$srpm};
# FIXME It seems the glob is not correctly expanded any more, so listing the directory content to do so
opendir my $binfh, "$chroot_tmp/home/$luser/rpmbuild/RPMS/";
my @packages;
diff --git a/lib/Iurt/Urpmi.pm b/lib/Iurt/Urpmi.pm
index a4300ad..a180f73 100644
--- a/lib/Iurt/Urpmi.pm
+++ b/lib/Iurt/Urpmi.pm
@@ -426,15 +426,10 @@ sub _install_callback {
my $maintainer = $opt->{maintainer};
$opt->{mail} = $maintainer || $admin;
- # remember what is needed, and do not try to
- # recompile until it is available
-
if ($missing_package) {
$opt->{error} = "[MISSING] $missing_deps, needed by $missing_package to build $title, is not available on $run->{my_arch} (rebuild $missing_package?)";
- $cache->{needed}{$title}{$missing_deps} = { package => $missing_package , version => $version, maint => $first_maint || $other_maint || $maintainer };
} else {
$opt->{error} = "[MISSING] $missing_deps, needed to build $title, is not available on $run->{my_arch}";
- $cache->{needed}{$title}{$missing_deps} = { package => $missing_package , version => $version, maint => $maintainer || $other_maint };
}
}
0;