Packaging for several ubuntu version

Martin Pitt martin.pitt at ubuntu.com
Fri Nov 14 11:31:09 GMT 2008


Andoni Morales Alastruey [2008-11-14  2:42 +0100]:
> Hi,
> I want to know wich is the default behaviour to package an app for
> several Ubuntu versions.
> Im trying to package my app both for Hardy and Intrepid. I first
> "dbuild" my app for hardy using "longomatch (0.8.0) hardy; urgency=low"
> in the the debian/Changelog and i send it using dput to my ppa.
> Then I "debuild" for intrepid setting "longomatch (0.8.0) intrepid;
> urgency=low" in the the debian/Changelog and I try to send it to my ppa
> but, of course, i get an error telling that I already sent it:
> Already uploaded to ppa.launchpad.net

Since the binaries will differ for different releases, and we have a
/pool structure with shared debs for all releases, this doesn't work.
You need to use different release numbers for different uploads.

A common scheme is:

  0.8.0  for the development release (jaunty)
  0.8.0~intrepid1 for a backport/build in intrepid
  0.8.0~hardy1 for a backport/build in hardy

"~" is a special operator which means "smaller than the version before
it", i. e. it is predestined for backports. Version numbers in earlier
releases must always be lower or equal than the ones in later releases.

Martin

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : https://lists.ubuntu.com/archives/launchpad-users/attachments/20081114/c19edeba/attachment.pgp 


More information about the launchpad-users mailing list