package sbuild
tags 559533 +patch
thanks

Hi Roger and Andres,

I got hit by the same bug, while trying to compile a 3.0 (quilt) package. I 
propose the attached simple patch, that "just works" for me.

Best regards, 

OdyX

-- 
Didier Raboud, proud Debian Maintainer (DM).
CH-1020 Renens
did...@raboud.com
commit 06fe18978dce8ee4f9c8759f3ad5dbfbb1efdaa2
Author: Didier Raboud <did...@raboud.com>
Date:   Wed Apr 21 15:43:33 2010 +0200

    Allows .bz2 files in .dsc's
    
    This supposedly fixes #559533.

diff --git a/lib/Sbuild/Build.pm b/lib/Sbuild/Build.pm
index 2cb5b4a..15e68e8 100644
--- a/lib/Sbuild/Build.pm
+++ b/lib/Sbuild/Build.pm
@@ -1935,7 +1935,7 @@ sub dsc_files {
 
     # We're only interested in the name of the files in the Files field.
     my $entry = ${$stanza}{'Files'};
-    @files = grep(/\.tar\.gz$|\.diff\.gz$/, split(/\s/, $entry));
+    @files = grep(/\.tar\.(gz|bz2)$|\.diff\.gz$/, split(/\s/, $entry));
 
     return @files;
 }

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to