]> git.donarmstrong.com Git - wannabuild.git/commitdiff
Only go to BD-Uninstallable state on give-back for unstable.
authorKurt Roeckx <kurt@roeckx.be>
Tue, 11 Aug 2009 18:27:53 +0000 (18:27 +0000)
committerKurt Roeckx <kurt@roeckx.be>
Tue, 11 Aug 2009 18:27:53 +0000 (18:27 +0000)
The other dists don't get a (regular) call to edos-debcheck to
clear the state.

bin/wanna-build

index a547d135da1d77f66ef554c678df032835286061..028242745c7286742ef858b523c13c8511780a64 100755 (executable)
@@ -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" );