From 1a3363cac19022dbd1a5841910984619bd37e43e Mon Sep 17 00:00:00 2001 From: Andreas Barth Date: Sat, 19 Jun 2010 10:43:12 +0000 Subject: [PATCH] streamline output of take/api=1 --- bin/wanna-build | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/bin/wanna-build b/bin/wanna-build index 552f07c..69cb3ec 100755 --- a/bin/wanna-build +++ b/bin/wanna-build @@ -747,15 +747,13 @@ sub add_one_building { } print "$name: $ok\n" if $verbose; } else { - print "- $name:\n"; - print " - status: ok\n"; - print " - extra-depends: $pkg->{'extra_depends'}\n" if $pkg->{'extra_depends'}; - print " - extra-conflicts: $pkg->{'extra_conflicts'}\n" if $pkg->{'extra_conflicts'}; - if ($pkg->{'binary_nmu_version'}) { - print " - binNMU:\n"; - print " - version: $pkg->{'binary_nmu_version'}\n"; - print " - changelog: $pkg->{'binary_nmu_changelog'}\n"; - } + print "- $name:\n"; + print " - status: ok\n"; + printf " - pkg-ver: %s_%s\n", $name, $version; + print " - binNMU: $pkg->{'binary_nmu_version'}\n" if $pkg->{'binary_nmu_version'}; + print " - extra-changelog: $pkg->{'binary_nmu_changelog'}\n" if $pkg->{'binary_nmu_changelog'} && $pkg->{'binary_nmu_version'}; + print " - extra-depends: $pkg->{'extra_depends'}\n" if $pkg->{'extra_depends'}; + print " - extra-conflicts: $pkg->{'extra_conflicts'}\n" if $pkg->{'extra_conflicts'}; } change_state( \$pkg, 'Building' ); $pkg->{'package'} = $name; -- 2.39.2