[Kolab-devel] Making perl-kolab a real library
Gunnar Wrobel
wrobel at pardus.de
Tue Aug 14 20:02:15 CEST 2007
Bernhard Reiter <bernhard at intevation.de> writes:
> On Monday 13 August 2007 08:29, Gunnar Wrobel wrote:
>> The '+' is something I don't fancy too much. I've ssen a lot of
>> different version numbering schemes while packaging stuff for Gentoo
>> but a plus sign was not among them so I'm sceptic about using it.
>
> Okay, use a dash, if you do not like it.
>>
>> But other than that I'm fine with the alternatives you suggested if
>> rpm correctly recognizes the higher versions. I was not very
>> successful in checking what schemes are actually supported by RPM or
>> how it determines what a higher version number is. Portage for Gentoo
>> knows about version suffixes and recognizes 2.1.0_alpha1 < 2.1.0_beta1
>> < 2.1.0_rc1 < 2.1.0 < 2.1.0_p1. That was why I chose "_cvs" as a
>> version suffix. For Gentoo I'm rewriting that to "_p" (patch level)
>
> Would it also be 2.1.0 < 2.1.0-cvs ?
No, Gentoo does not know about the cvs suffix. If it would be a normal
Gentoo package I'd use 2.1.0_p20070814 to indicate that the package
represents "patch level 20070814 after 2.1.0". But I definitely do not
intend to let Gentoo policies influence the packaging for the Kolab
server packages :) The Gentoo packages will be named like this but it
is trivial to rewrite "-cvs" into "_p" internally.
> If so I would prefer the dash over the underline character.
Okay, I actually wanted to agree here and tried switching the
perl-kolab package to that scheme but rpm responded with
"Illegal char '-' in version: Version: 2.1.0-cvs"
The dash is also not allowed in the release number. So in order to not
make any mistakes here I did actually check the corresponding rpm code
now and I'd suggest removing either dash or underline so that we have
2.1.0cvs as version and the date as release number. Is that also okay?
Cheers,
Gunnar
--
______ http://kdab.com _______________ http://kolab-konsortium.com _
p at rdus Kolab work is funded in part by KDAB and the Kolab Konsortium
____ http://www.pardus.de _________________ http://gunnarwrobel.de _
E-mail : p at rdus.de Dr. Gunnar Wrobel
Tel. : +49 40 432 72335 Bundesstrasse 29
Fax : +49 40 432 70855 D-20146 Hamburg
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> Mail at ease - Rent a kolab groupware server at p at rdus <<
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
More information about the devel
mailing list