]> git.donarmstrong.com Git - wannabuild.git/commitdiff
bin/wanna-build: keep binNMU info in case package is rebuilt for an binnmu
authorAndreas Barth <aba@not.so.argh.org>
Fri, 11 Jun 2010 19:20:57 +0000 (19:20 +0000)
committerAndreas Barth <aba@not.so.argh.org>
Fri, 11 Jun 2010 19:20:57 +0000 (19:20 +0000)
bin/wanna-build

index 54f3db79568c6dd83872be61e28834e071280276..5b51462bcc91e63d422b944480ba86a6e653d521 100755 (executable)
@@ -3031,8 +3031,8 @@ sub parse_all_v3() {
         $pkg->{'dep'} = $pkgs->{'depends'};
         $pkg->{'conf'} = $pkgs->{'conflicts'};
         delete $pkg->{'builder'};
-        delete $pkg->{'binary_nmu_version'};
-        delete $pkg->{'binary_nmu_changelog'};
+        delete $pkg->{'binary_nmu_version'} unless $pkgs->{'binnmu'};
+        delete $pkg->{'binary_nmu_changelog'} unless $pkgs->{'binnmu'};
         log_ta( $pkg, "--merge-v3: needs-build" ) unless $simulate;
         update_source_info($pkg) unless $simulate;
         print "$logstr set to needs-builds\n" if $simulate || $verbose;