[CentOS-virt] qemu-kvm rebuild in Centos for oVirt in SIG Virt

Fri May 23 15:32:26 UTC 2014
Trey Dockendorf <treydock at gmail.com>

Is the plan to get the qemu-kvm build provided by CentOS to include
the "rhev-features"?  I recently updated to oVirt 4.1 and while my
hypervisors were in maintenance I performed an update of all packages,
including qemu-kvm and noticed the latest version
(0.12.1.2-2.415.el6_5.8) in the CentOS repos still does not include
live  snapshot capability.

Any suggestion on how to version my internal rebuild of qemu-kvm to
prevent CentOS's RPM being installed?  My initial attempt is the
following:

mock -D "dist .el6_5" -D "buildid .local" -r epel-6-x86_64
--with=rhev-features \
--rebuild /home/treydock/qemu-kvm/qemu-kvm-0.12.1.2-2.415.el6_5.8.src.rpm \
--resultdir=/home/treydock/qemu-kvm/rpms/local \
--cleanup-after

The resulting RPMs still contain the same version as CentOS's builds.
Do I need to extract the SRPM, modify the spec, then rebuild a SRPM
built using the modified spec?

Thanks
- Trey

On Thu, May 22, 2014 at 12:30 PM, Douglas Schilling Landgraf
<dougsland at redhat.com> wrote:
> Hi guys,
>
> As we discussed in the last CentOS SIG Virt meeting below the steps that
> we do to rebuild the qemu-kvm from http://vault.centos.org to enable the
> rhev-features like live snapshot for CentOS.
>
> 1. Download the last qemu-kvm from
> http://vault.centos.org/${version}/updates/Source/SPackages/
>
> 2. mock -D "${build_version}" -r epel-6-x86_64 --with=rhev-features
> --rebuild "${WORKSPACE}"/rpms/${qemu_kvm}
> --resultdir="${WORKSPACE}"/rpms --cleanup-after
>
> As you can see we don't bump the release at moment, please let me know
> your thoughts. If there is any volunteer to take owner of this package
> in the SIG group please let me know, otherwise I can take it.
>
> Here the jenkins URL:
> http://jenkins.ovirt.org/job/qemu-kvm-rhev_create-rpms_el6/
>
> Thanks!
>
> --
> Cheers
> Douglas
> _______________________________________________
> CentOS-virt mailing list
> CentOS-virt at centos.org
> http://lists.centos.org/mailman/listinfo/centos-virt