From e0bed2f58be27b3b6ac4c1ba1fa16a2d3fbb69bf Mon Sep 17 00:00:00 2001 From: Frank Lichtenheld Date: Sun, 7 Oct 2007 21:50:37 +0200 Subject: [PATCH] dpkg-buildpackage: Add -z/-Z to passthrough opts --- ChangeLog | 5 +++++ scripts/dpkg-buildpackage.pl | 8 ++++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 525c2661..8b9fa461 100644 --- a/ChangeLog +++ b/ChangeLog @@ -54,6 +54,11 @@ * scripts/dpkg-buildpackage.pl (usage): Remove details about running fakeroot only if it's available. +2007-10-07 Frank Lichtenheld + + * scripts/dpkg-buildpackage.pl: Add -z/-Z to + passthrough opts (will be passed to dpkg-source). + 2007-10-07 Frank Lichtenheld Marcel Toele diff --git a/scripts/dpkg-buildpackage.pl b/scripts/dpkg-buildpackage.pl index 232fd884..f7245443 100644 --- a/scripts/dpkg-buildpackage.pl +++ b/scripts/dpkg-buildpackage.pl @@ -59,8 +59,10 @@ Options: -si (default) src includes orig for rev. 0 or 1. } -sa uploaded src always includes orig. } -sd uploaded src is diff and .dsc only. } - -sn force Debian native source format. } only passed - -s[sAkurKUR] see dpkg-source for explanation. } to dpkg-source + -sn force Debian native source format. } + -s[sAkurKUR] see dpkg-source for explanation. } only passed + -z compression level of source } to dpkg-source + -Z(gz|bz2|lzma) compression to use for source } -nc do not clean source tree (implies -b). -tc clean source tree when finished. -ap add pause before starting signature process. @@ -141,6 +143,8 @@ while (@ARGV) { $sourcestyle = $_; } elsif (/^-s[nsAkurKUR]$/) { push @passopts, $_; # passed to dpkg-source + } elsif (/^-[zZ]/) { + push @passopts, $_; # passed to dpkg-source } elsif (/^-i.*$/) { $diffignore = $_; } elsif (/^-I.*$/) { -- 2.39.5