Question regarding version + svn revision on packaging

Richard Shaw hobbes1069 at
Mon May 14 18:57:18 UTC 2012

On Mon, May 14, 2012 at 1:51 PM, Nelson Marques <nmo.marques at> wrote:
> One of the packages I'm submitting for Unknown Horizons support
> (python-enet or pyenet) has no real version and it's just svn revision
> 24 (python bindings for ENet);
> What would be the best way to express this in the spec file?
> ex: Version: 0.0.0+svn24
> Or any other? Opinions most welcome.

One "0" is enough, no need to assume minor and patch versions. Also, I
think + is a Debian thing, for Fedora it would just be part of the
release. For a pre-release package.:

Version: 0
Release: 0.1.svn24%{?dist}

or something like that, would give:

<package name>-0-0.1.svn24.<dist>



More information about the devel mailing list