Hi,

On Fri, Jan 16, 2015 at 11:19:18AM -0800, Vagrant Cascadian wrote:

> I've tried passing the --compression=xz option to uscan, but it
> doesn't appear to pass that on to mk-origtgz.
[…]
> Running uscan:
> 
>   uscan --compression=xz
[…]
>       Successfully repacked ../u-boot-2015.01.tar.bz2 as 
> ../u-boot_2015.01+dfsg1.orig.tar.bz2, deleting 17 files from it.

> It simply repacks the tarball as bz2 file.

Actually, it simply strips away the files from the existing tarball, and
renames it(s copy) to match the usual expectations.

You need to explicitly use the --repack switch if you want a repack
(unless the original is not a friendly format, e.g., ZIP):

  uscan --repack --compression=xz

Maybe the text in uscan(1) comes from an earlier implementation, and
the text within parenthesis:

    --compression [ gzip | bzip2 | lzma | xz ]
           In  the  case  where  the  upstream  sources  are
           repacked (either because --repack option is given
           or  debian/copyright  contains  the  field Files-
           Excluded) […]

should be changed to something like: 

                    (either because it is a zip file or because
           of --repack)

(and ditto in mk-origtargz(1)).

Regards

David

Attachment: signature.asc
Description: Digital signature

Reply via email to