Creating a source tarball for repackaged source using dpkg-source -b
the developer reference describes how to do the repackaging of upstream
Among others the following two points are mentioned for the
* should use <packagename>-<upstream-version>.orig as the name of
the top-level directory in its tarball. This makes it possible
to distinguish pristine tarballs from repackaged ones.
* should be gzipped with maximal compression.
And it is said, that those points can be met, by using "dpkg-source -b"
to construct the repackaged tarball from an unpacked directory.
How do I invoke dpkg-source to create the .orig.tar.gz file?
I have tried specifying the location of the changelog and the control
file (using -l and -c)
dpkg-source -b -lchangelog -ccontrol unmodified-source-dir
but this created a file: umlet_7.1-1.tar.gz with an unchanged top level
I've also tried:
dpkg-source -sU -b -lchangelog -ccontrol unmodified-source-dir unmodified-source-dir
which created (among others) a umlet_7.1.orig.tar.gz but still the top
level directory remained unchanged.
Help would be appreciated!
Please do not send any email to email@example.com -- all email not
originating from the mailing list will be deleted. Use the reply to