debuild: force to compress data.tar with gzip instead of xz

Sergey V. sftp.mtuci at gmail.com
Sat May 10 14:38:48 UTC 2014


В письме от Суббота 10 мая 2014 10:09:03 пользователь James McCoy написал:
> On Sat, May 10, 2014 at 05:50:42PM +0400, Sergey V. wrote:
> > It's able to force `debuild` tool to compress data.tar with using gzip
> > instead of xz?
> 
> debuild is just a wrapper around dpkg-buildpackage, so there's nothing
> specific to debuild that needs to be done here.
Thank you for quick answer!
 
> If you're using a 3.0 (quilt) format source package, you could add
> 
>   compression = "gzip"
> 
> in debian/source/options.
It seems not works for me:

($CWD is package rootdir with debian/, Makefile and src/)
$ cat debian/source/options 
compression = "gzip"
$ debuild
[...]
Successfully signed dsc and changes files
$ strings ../*deb | grep xz
data.tar.xz     1399732059  0     0     100644  11224
$

> Alternatively, pass "-Zgzip" to debuild as part of the dpkg-buildpackage
> options
> 
>   debuild [debuild options] [dpkg-buildpackage options] [--lintian-opts
> lintian options]
I did tryed it too with same result:

$ debuild -Zgzip
[...]
$ strings ../*deb | grep xz
data.tar.xz     1399732303  0     0     100644  11224
$

What i doing wrong? Sorry, I'm new for debian.

Thanks!

> Cheers,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/devscripts-devel/attachments/20140510/14620607/attachment.sig>


More information about the devscripts-devel mailing list