Package name separators

Wichert Akkerman wichert at cistron.nl
Wed Jul 26 08:39:59 PDT 2000


Previously Miles Bader wrote:
> Right, but unfortunately it's common for *both* the package name and the
> version to contain hyphens -- that's why it's annoying.  One can simply
> disallow hyphens in versions, but they seem to turn up in the source
> versions from which packages are made.

Simply solution that Debian uses: version is the versionnumber of the package.
upstream version is the upstream version (duh), and release version is
the version of the package. The upstream version and release version
are seperated by a -. The release version is not allowed to contain a
- and can therefore always be found by taking the string after the last
- in the full version.

Confused yet? Example:

   2.1.3-2.1     : upstream version 2.1.3, package release version 2.1
   2.2.17-pre3-2 : upstream version 2.2.17-pre3, package release version 2

We've used that for years and it works very well.

Wichert.

-- 
  _________________________________________________________________
 / Generally uninteresting signature - ignore at your convenience  \
| wichert at wiggy.net                   http://www.liacs.nl/~wichert/ |
| 1024D/2FA3BC2D 576E 100B 518D 2F16 36B0  2805 3CB8 9250 2FA3 BC2D |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 240 bytes
Desc: not available
Url : http://lists.linux-foundation.org/pipermail/lsb-discuss/attachments/20000726/654819e8/attachment.pgp 


More information about the lsb-discuss mailing list