From ac5fe527836571df3509adb7a791555547cd7635 Mon Sep 17 00:00:00 2001 From: Kurt Roeckx Date: Tue, 11 Aug 2009 18:27:53 +0000 Subject: [PATCH] Only go to BD-Uninstallable state on give-back for unstable. The other dists don't get a (regular) call to edos-debcheck to clear the state. --- bin/wanna-build | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/bin/wanna-build b/bin/wanna-build index a547d13..0282427 100755 --- a/bin/wanna-build +++ b/bin/wanna-build @@ -1030,8 +1030,12 @@ sub add_one_needsbuild { "Skipping.\n"; return; } - change_state( \$pkg, 'BD-Uninstallable' ); - $pkg->{'BD-Problem'} = "Installability of build dependencies not tested yet"; + if ($distribution eq "unstable") { + change_state( \$pkg, 'BD-Uninstallable' ); + $pkg->{'BD-Problem'} = "Installability of build dependencies not tested yet"; + } else { + change_state( \$pkg, 'Needs-Build' ); + } delete $pkg->{'Builder'}; delete $pkg->{'Depends'}; log_ta( $pkg, "--give-back" ); -- 2.39.2