Bug 705143

Summary: qemu-kvm-rhel6.git srpm build should update makefile BUILD to current tag..
Product: Red Hat Enterprise Linux 6 Reporter: john cooper <john.cooper>
Component: qemu-kvmAssignee: Eduardo Habkost <ehabkost>
Status: CLOSED NOTABUG QA Contact: Virtualization Bugs <virt-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.1CC: juzhang, mkenneth, nobody, tburke, virt-maint
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-20 18:54:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description john cooper 2011-05-16 18:54:06 UTC
[submitting as a place holder so this doesn't get lost]

Description of problem:

The git srpm build in qemu-kvm-rhel6 doesn't update the
build version automatically to track the git tag which
is problematic.

Expected results:

srpm build from git tree should update build version to
the current tag.

Additional info:

In this case:

--- a/redhat/Makefile.common
+++ b/redhat/Makefile.common
@@ -14,7 +14,7 @@ REDHAT:=$(shell pwd)
 RPM:=$(REDHAT)/rpm
 SRPMS:=$(RPM)/SRPMS
 SOURCES:=$(RPM)/SOURCES
-BUILD:=113
+BUILD:=159
 PREBUILD=2.
 DIST=.el6
 PKGNAME=$(COMMON_NAME)

"BUILD" needs to be set to the most recent tag of 159.
This is a TBD according to Eduardo although I probably
will just hack a wrapper script to poke it per build
lest I forget this nugget.

See commit 55141fddd99a6a5eaccd558b9b5e14fe5ffe925a for
an earlier skeleton.

Comment 2 Dor Laor 2011-05-19 20:05:31 UTC
John, please send the patch to rhvirt