From 8c6472680bbc28bd7e64570a70043d7a3d6ea7c3 Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Tue, 3 Oct 2017 19:13:31 +0100 Subject: kill "needed" and "buildrequires" --- lib/Iurt/Urpmi.pm | 5 ----- 1 file changed, 5 deletions(-) (limited to 'lib/Iurt/Urpmi.pm') 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; -- cgit v1.2.1