[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Pkg-octave-devel] Re: two different packages with the same source tarball/name



I'm forwarding the answer I got on debian-mentors, because it wasn't
cc'd here.

Short summary: it's not possible. I will therefore rename the upstream
tarball to octave2.1-forge.XYZ.tar.gz and octave2.9-forge.XYZ.tar.gz. 

Threads starts at 
http://lists.debian.org/debian-mentors/2006/07/msg00218.html


======================================================================
> is it possible to have two different binary packages with the same
> source package name (but different upstream versions of the source)?

No.  The package with the later version will overwrite the earlier
one, and this will cause the binaries no longer built to be removed.

It is possible to have a single source package have the sources for
two versions and build two different binary packages, but in this
case you would (rightfully) get beaten with sticks.

> Reason: I'm about to package octave-forge for both Octave 2.1 and 2.9
> (you can consider octave-forge as plugin, that needs to be compiled for
> the respective version). 
>  Now, upstream provides only one tarball for *one* version; that is, the
> latest upstream tarball is meant for Octave 2.9, while previous versions
> were meant for Octave 2.1.

> I would therefore like to keep the old version for Octave 2.1 (with a
> source name of octave-forge), while packaging the latest version for
> Octave 2.9 (as well with a source name of octave-forge, but a
different
> upstream version).

Just have two different source packages.  Preferably, with the same
names as the binaries they produce.

======================================================================

	Thomas




Reply to: