On Tue, 20 Feb 2001, Michael J. Donahue wrote:
>Philosophy 101 Question:
>
>Does anyone know what standards might exist on generating Version and Release
>numbers for RPM spec files.
>
>ie. Version 1.2.3 Release 4
>
> 1 = major version - changes occurred that effect interfaces
> 2 = minor version - changes occurred but interfaces are the same
> 3 = possibly bug fix or configuration related updates.
> 4 = release candidate 4
This is much a personal taste thing, and depends on your
experience. If something doesn't work, you change it until it
does what you and your customers need.
For software versioning i use the linux kernel version scheme
mostly. Only I do not follow Linus's "close to release" random
naming game. I just increase the third digit as needed, and
possibly go to a fourth digit for minor internal releases.
For RPM Release numbers, I start at 0.0.1, and work my way up on
the last digit until I have a package that builds at all, then
0.1.0, 0.1.1, 0.1.2 until I think I have a candidate for first
release. This becomes the -1 release. So you'd end up with
myprog-2.3.4-0.0.1.src.rpm
myprog-2.3.4-0.0.2.src.rpm
myprog-2.3.4-0.0.3.src.rpm
etc..
myprog-2.3.4-0.1.0.src.rpm
myprog-2.3.4-0.1.1.src.rpm
etc..
Finally it is ready for public testing, so I bump it to "1"
myprog-2.3.4-1.src.rpm
Then packaging devel goes to:
myprog-2.3.4-1.0.1.src.rpm
myprog-2.3.4-1.0.2.src.rpm
etc..
Occasionally I might make a internal test release avail to
someone if I think it builds ok and may be stable, etc..
By doing this, your release number doesn't skyrocket
unnecessarily.
Hope this helps.
TTYL
----------------------------------------------------------------------
Mike A. Harris - Linux advocate - Free Software advocate
This message is copyright 2001, all rights reserved.
Views expressed are my own, not necessarily shared by my employer.
----------------------------------------------------------------------
DISCLAIMER - These opoi^H^H "damn", ^H, [esc :q :qq !q "shoot!" :Q! "Whaddya
mean, Not an editor command?" :wq! ^C^C^C !STOP ^bye ^quit :quit! !halt ...
^w^q:!w :wq! ^D :qq!! ^STOP [HALT! HALT!!! "Why's it doing this?" :stopit!
:wwqq!! ^Z ^L ^ESC STOP :bye bye bye! "Hey, what's this red button d..."
_______________________________________________
Rpm-list mailing list
Rpm-list@...
https://listman.redhat.com/mailman/listinfo/rpm-list