Disable Xen support on RHEL >= 6 (RHBZ#927853).

This commit is contained in:
Richard W.M. Jones 2013-05-23 09:08:42 +01:00
parent e681729278
commit 0cb8711717

View File

@ -1,6 +1,11 @@
# Xen is only available on a limited number of architectures
# and is not in RHEL at all.
%ifarch %{ix86} x86_64 ia64
%if 0%{?rhel} >= 6
%global have_xen 0
%else
%global have_xen 1
%endif
%else
%global have_xen 0
%endif
@ -8,7 +13,7 @@
Summary: Virtualization host metrics daemon
Name: vhostmd
Version: 0.5
Release: 3%{?dist}
Release: 4%{?dist}
License: GPLv2+
Group: System Environment/Daemons
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
@ -183,6 +188,9 @@ exit 0
%changelog
* Thu May 23 2013 Richard W.M. Jones <rjones@redhat.com> - 0.5-4
- Disable Xen support on RHEL >= 6 (RHBZ#927853).
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild