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(a)gmail.com>:
> On Mon, May 14, 2012 at 1:51 PM, Nelson Marques <nmo.marques(a)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