aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Iurt
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 /lib/Iurt
parente8f4a77c242470c6a9179c3c32a3926ea748a4c8 (diff)
downloadiurt-8c6472680bbc28bd7e64570a70043d7a3d6ea7c3.tar
iurt-8c6472680bbc28bd7e64570a70043d7a3d6ea7c3.tar.gz
iurt-8c6472680bbc28bd7e64570a70043d7a3d6ea7c3.tar.bz2
iurt-8c6472680bbc28bd7e64570a70043d7a3d6ea7c3.tar.xz
iurt-8c6472680bbc28bd7e64570a70043d7a3d6ea7c3.zip
kill "needed" and "buildrequires"
Diffstat (limited to 'lib/Iurt')
-rw-r--r--lib/Iurt/Urpmi.pm5
1 files changed, 0 insertions, 5 deletions
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;