On Fri, 11 Dec 2009 08:21:05 +0100 Raphael Hertzog <[email protected]> wrote:
> On Thu, 10 Dec 2009, Neil Williams wrote: > > $ cd gpe-calendar-0.92/ > > gpe-calendar-0.92$ dpkg-source --print-format . > > 1.0 > > Try building with "dpkg-source -b ." and you'll see that it fails > to select 3.0 (quilt). > > You need to call it in the same conditions than "dpkg-source -b", that > means from somewhere where the .orig tarball is available in the > current directory. > > I might need to make this more explicit in the documentation. But then it also insists on finding ./debian/changelog in that same directory. That makes some very large assumptions about directory layout for something as simple as querying/verifying a source format string. e.g. this was to be used in svn-buildpackage in which case we have: ./foo/tarballs/foo_1.2.3.orig.tar.bz2 ./foo/trunk/debian/changelog ./foo/trunk/debian/source/format (trunk cannot be assumed here, it could be absent in a branch.) Why does --print-format need to locate the .orig.tar.gz|bz2 anyway? BTW the bash completion for --print-format is also broken, it does not allow a directory to be specified after the option when a directory is mandatory.) -- Neil Williams ============= http://www.data-freedom.org/ http://www.linux.codehelp.co.uk/ http://e-mail.is-not-s.ms/
pgpVuiB7BOX5o.pgp
Description: PGP signature

