Question regarding version + svn revision on packaging

Toshio Kuratomi a.badger at gmail.com
Mon May 14 19:51:30 UTC 2012


On Mon, May 14, 2012 at 08:00:22PM +0100, Nelson Marques wrote:
> Thanks, looks cool to me, I'll use that if there are no objections :)
> 
> 2012/5/14 Richard Shaw <hobbes1069 at gmail.com>:
> > On Mon, May 14, 2012 at 1:51 PM, Nelson Marques <nmo.marques at gmail.com> 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>
> >
> > see:
> >
> > http://fedoraproject.org/wiki/Packaging:NamingGuidelines#Snapshot_packages
> >
Yep -- we'd want the date in there too like this:

Version: 0
Release: 0.1.20120412svn24%{?dist}

-Toshio
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.fedoraproject.org/pipermail/devel/attachments/20120514/b158d322/attachment.sig>


More information about the devel mailing list