Change in ovirt-engine[master]: packaging: open source like versioning scheme

juan.hernandez at redhat.com juan.hernandez at redhat.com
Thu Feb 28 10:24:09 UTC 2013


Juan Hernandez has submitted this change and it was merged.

Change subject: packaging: open source like versioning scheme
......................................................................


packaging: open source like versioning scheme

Add version.mak with version information.

Major and minor components are taken from pom.xml.
Fix is taken from version.mak.

Milestone is a string representation of the milestone
example for ordering:
 - master
 - alpha
 - master
 - beta
 - master
 - beta2
 - master
 - rc
 - master
 - rc2
 - master
 - <none>

RPM_RELEASE is a rpm specific release string that should be manually
modified after milestone change.

Example of sequence:

 # master
 FIX_RELEASE=0
 MILESTONE=master
 RPM_RELEASE=0.0.$(MILESTONE).$(shell date -u +%Y%m%d%H%M%S)

 # beta
 FIX_RELEASE=0
 MILESTONE=beta
 RPM_RELEASE=0.1

 # post beta
 FIX_RELEASE=0
 MILESTONE=master
 RPM_RELEASE=0.2.$(MILESTONE).$(shell date -u +%Y%m%d%H%M%S)

 # release
 FIX_RELEASE=0
 MILESTONE=
 RPM_RELEASE=1

 # post release
 FIX_RELEASE=1
 MILESTONE=master
 RPM_RELEASE=0.0.$(MILESTONE).$(shell date -u +%Y%m%d%H%M%S)

Change-Id: Ibe7d85addc16950a3efbebb1f6e157d5401745b2
Signed-off-by: Alon Bar-Lev <alonbl at redhat.com>
---
M .gitignore
M Makefile
M packaging/fedora/spec/ovirt-engine.spec.in
A version.mak
4 files changed, 70 insertions(+), 32 deletions(-)

Approvals:
  Juan Hernandez: Verified; Looks good to me, approved


--
To view, visit http://gerrit.ovirt.org/12406
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ibe7d85addc16950a3efbebb1f6e157d5401745b2
Gerrit-PatchSet: 5
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alon Bar-Lev <alonbl at redhat.com>
Gerrit-Reviewer: Alex Lourie <alourie at redhat.com>
Gerrit-Reviewer: Alon Bar-Lev <alonbl at redhat.com>
Gerrit-Reviewer: Eyal Edri <eedri at redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Moran Goldboim <mgoldboi at redhat.com>
Gerrit-Reviewer: Ofer Schreiber <oschreib at redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo at redhat.com>



More information about the Engine-commits mailing list