[Kolab-devel] Making perl-kolab a real library
Gunnar Wrobel
wrobel at pardus.de
Wed Aug 15 18:05:11 CEST 2007
Bernhard Reiter <bernhard at intevation.de> writes:
> On Tuesday 14 August 2007 20:02, Gunnar Wrobel wrote:
>> 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?
>
> Ah, no usually
> 2.1.0beta < 2.1.0
> but it should be 2.1.0 < 2.1.0cvs
> Hmm. Maybe
> 2.1.0.99cvs20070815?
> Somehow I have a deja-vu. :) :/
>
> Seriously we might need to check the rpm code.
Thought so too :) and hacked a short test script that gave me this output:
2.1.0 > 2.1.0: 0
2.1.0cvs > 2.1.0: 1
2.1.0 > 2.1.0cvs: -1
2.1.0.cvs > 2.1.0: 1
2.1.0beta > 2.1.0: 1
2.1.1 > 2.1.0cvs: 1
20070815 > 20070815: 0
cvs20070815 > 20070814: -1
20070815 > cvs20070815: 1
rpm is incabable of recognizing
2.1.0beta < 2.1.0
In fact
2.1.0whatever > 2.1.0
since it just checks for the longer version number.
> What about 2.1.0.cvs20070815
The dash does not need to be removed completely. A dash is in fact
automatically added by rpm between version number and release
number. That is probably also the reason why it is not allowed to
occur in either.
So from the output above I'd say we just append the "cvs" tag with a
dot or without a seperator to the version number.
The release number would then always be the date. I'd advice against
prepending the cvs tag to the release number since rpm is obviously
incapable to recognize
cvs20070815 > 20070814: -1
So I'd suggest the following for released packages:
tar.gz: perl-kolab-2.1.0.tar.gz
src.rpm: perl-kolab-2.1.0-20070815.src.rpm
And since I like the dot in front of cvs the following for cvs
packages:
tar.gz: perl-kolab-2.1.0.cvs-20070816.tar.gz
src.rpm: perl-kolab-2.1.0.cvs-20070816.src.rpm
Would that be 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