]> err.no Git - dpkg/commit
dpkg-source: use a list of possible format for building a source package
authorRaphael Hertzog <hertzog@debian.org>
Fri, 29 Feb 2008 20:24:14 +0000 (21:24 +0100)
committerRaphael Hertzog <hertzog@debian.org>
Sat, 1 Mar 2008 08:58:23 +0000 (09:58 +0100)
commit3b5dc12a4835d7d97542ebf5a5a346a96e0f567c
tree785764467f9fad39f03d96476f69e90563fdc836
parent1c527e7fc0c86487696898a6356b66a4d582d860
dpkg-source: use a list of possible format for building a source package

* scripts/dpkg-source.pl: Define a list of formats that can be used
to build a source package and use the first one that is able to build
a source package. Let the user add formats to try at the beginning of that
list with the --format=<format> command-line option.
* scripts/Dpkg/Source/Package/V1_0.pm (can_build): Only accept to build a
source package is the compression option is gzip.
* scripts/Dpkg/Source/Package.pm (can_build): Return a proper error
message.
* scripts/dpkg-source.pl: Use the info() function to report progress.
scripts/Dpkg/Source/Package.pm
scripts/Dpkg/Source/Package/V1_0.pm
scripts/dpkg-source.pl