[libvirt] [PATCH] spec: Enable ESX driver on RHEL
Eric Blake
eblake at redhat.com
Thu Dec 23 16:23:31 UTC 2010
On 12/23/2010 04:52 AM, Jiri Denemark wrote:
> ---
> libvirt.spec.in | 3 +--
> 1 files changed, 1 insertions(+), 2 deletions(-)
>
> diff --git a/libvirt.spec.in b/libvirt.spec.in
> index 5ea3422..fd99a54 100644
> --- a/libvirt.spec.in
> +++ b/libvirt.spec.in
> @@ -87,7 +87,7 @@
> %define with_numactl 0
> %endif
>
> -# RHEL doesn't ship OpenVZ, VBox, UML, OpenNebula, PowerHypervisor, ESX,
> +# RHEL doesn't ship OpenVZ, VBox, UML, OpenNebula, PowerHypervisor,
> # VMWare, or libxenserver (xenapi)
> %if 0%{?rhel}
Actually, I'm thinking it's better to do:
%if 0%{%rhel}
#disable all but esx
%endif
# Additionally, RHEL 5 lacks ESX.
%if 0%{?rhel} < 6
%define with_esx 0
%endif
So that we can share a single spec file among both RHEL versions.
--
Eric Blake eblake at redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20101223/126d579d/attachment-0001.sig>
More information about the libvir-list
mailing list