The following commit has been merged in the sourcev3 branch:
commit 18a12ddbe946ddb88fb859947c9476c6e1e55862
Author: Raphael Hertzog <[EMAIL PROTECTED]>
Date:   Wed Mar 19 22:38:09 2008 +0100

    dpkg-source: keep the old output for tools that parse the directory
    
    * scripts/dpkg-source.pl: Old version of lintian and sbuild do parse the
    output of dpkg-source to find the name of the unpacked directory. Thus
    keep the old output for this precise string until the tools get fixed.

diff --git a/scripts/dpkg-source.pl b/scripts/dpkg-source.pl
index eba1fbe..b841ef0 100755
--- a/scripts/dpkg-source.pl
+++ b/scripts/dpkg-source.pl
@@ -317,7 +317,11 @@ if ($options{'opmode'} eq 'build') {
     }
 
     # Unpack the source package (delegated to Dpkg::Source::Package::*)
-    info(_g("extracting %s in %s"), $srcpkg->{'fields'}{'Source'}, 
$newdirectory);
+    #XXX: we have to keep the old output until sbuild stop parsing
+    # dpkg-source's output
+    #info(_g("extracting %s in %s"), $srcpkg->{'fields'}{'Source'}, 
$newdirectory);
+    printf(_g("%s: extracting %s in %s")."\n", $progname,
+           $srcpkg->{'fields'}{'Source'}, $newdirectory);
     $srcpkg->extract($newdirectory);
 
     exit(0);

-- 
dpkg's main repository


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to