Re: Two packages with different version, from the same source
On Tue, Feb 07, 2006 at 04:47:30AM -0200, Nelson A. de Oliveira wrote:
> Hi mentors!
> I have a doubt.
> I am creating a package of a Firefox/Mozilla extension. Upstream
> author reselases two .xpi files, one for Firefox and another for
> Mozilla. Since they are small, I was wanting to create just one source
> package (including both .xpi files) and generate two binary packages
> (one package for Firefox and the other for Mozilla).
> The problem is that upsteram author released a new version of the .xpi
> just for Firefox.
> The extension for Firefox is on version 1.4 and of Mozilla is on version 1.3.2
> What is the best solution for my problem?
> Put both .xpi files on the same .orig.tar.gz and create two binary
If at all possibly, the .orig.tar.gz should be pristine. The only
reasons why this shouldn't be so is if one of:
. the upstream tarball is nonfree, but can still produce useful
packages after being stripped of nonfree material
. there is no upstream tarball
. there is a massive space savings by cleaning binaries out of the
> packages, using dh_gencontrol with the -v flag? If I make this and,
It seems that you would need to use -uv or something, see
> Or do I create two source packages?
This may be best, especially if it gets you 2 pristine tarballs, and
if it would be otherwise impossible.