[Openais] [PATCH] corosync/trunk: fix/improve rpm package versioning (take 2)

Fabio M. Di Nitto fdinitto at redhat.com
Fri Jun 26 04:45:21 PDT 2009


On Fri, 2009-06-26 at 11:02 +0200, Jim Meyering wrote:
> Fabio M. Di Nitto wrote:
> > Hi,
> >
> > extra integration testing did show a series of issues with rpm
> > autogenerated version system.
> >
> > the following patch addresses them.
> >
> > Issues details:
> >
> > 1) a version trunk-1.r1234 is < 0.XX release breaking upgrade paths from
> > release X to trunk to release X+1.
> >
> > 2) alpha tag can contain M or S or MS. Eg. r1234M is < r1234 breaking
> > rpm upgrade path.
> >

#2 is still resolved with regexp.

#1 uses a radical and much simpler approach to the whole problem.

configure.ac used to export trunk as VERSION.

Set AC_INIT version to the last released version that will fit all kind
of purposes.

Update top level Makefile to handle releases and set the right version
trunk/.

Also cleanup the script by changing a bunch of ";" to && to make error
fatals (IIRC Jim reported this problem a long time ago but I never got
around to fix it). cols < 80 and white space cleanup.

NOTE: the only real new entry in the game is that top level makefile
will perform an automatic svn commit on trunk to Bump to the new release
version so that it happens before tagging (for proper ordering of events
in svn).

Fabio
-------------- next part --------------
A non-text attachment was scrubbed...
Name: improve_rpm.diff
Type: text/x-patch
Size: 3362 bytes
Desc: not available
Url : http://lists.linux-foundation.org/pipermail/openais/attachments/20090626/23418f8b/attachment-0001.bin 


More information about the Openais mailing list