diff options
-rwxr-xr-x | iurt | 3 | ||||
-rw-r--r-- | lib/Iurt/Urpmi.pm | 5 |
2 files changed, 0 insertions, 8 deletions
@@ -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; |