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(a)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(a)redhat.com>
Gerrit-Reviewer: Alex Lourie <alourie(a)redhat.com>
Gerrit-Reviewer: Alon Bar-Lev <alonbl(a)redhat.com>
Gerrit-Reviewer: Eyal Edri <eedri(a)redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Moran Goldboim <mgoldboi(a)redhat.com>
Gerrit-Reviewer: Ofer Schreiber <oschreib(a)redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo(a)redhat.com>