fix ix86 macros

This commit is contained in:
Peter Robinson 2012-02-17 15:27:03 +00:00
parent f19e302ba9
commit 79ae809020

View File

@ -22,7 +22,7 @@
# RHEL-5 builds are client-only for s390, ppc # RHEL-5 builds are client-only for s390, ppc
%if 0%{?rhel} == 5 %if 0%{?rhel} == 5
%ifnarch i386 i586 i686 x86_64 ia64 %ifnarch %{ix86} x86_64 ia64
%define client_only 1 %define client_only 1
%endif %endif
%endif %endif
@ -93,7 +93,7 @@
# Finally set the OS / architecture specific special cases # Finally set the OS / architecture specific special cases
# Xen is available only on i386 x86_64 ia64 # Xen is available only on i386 x86_64 ia64
%ifnarch i386 i586 i686 x86_64 ia64 %ifnarch %{ix86} x86_64 ia64
%define with_xen 0 %define with_xen 0
%define with_libxl 0 %define with_libxl 0
%endif %endif
@ -184,7 +184,7 @@
%define with_sanlock 0%{!?_without_sanlock:%{server_drivers}} %define with_sanlock 0%{!?_without_sanlock:%{server_drivers}}
%endif %endif
%if 0%{?rhel} >= 6 %if 0%{?rhel} >= 6
%ifarch i386 i586 i686 x86_64 %ifarch %{ix86} x86_64
%define with_sanlock 0%{!?_without_sanlock:%{server_drivers}} %define with_sanlock 0%{!?_without_sanlock:%{server_drivers}}
%endif %endif
%endif %endif
@ -346,7 +346,7 @@ Requires: device-mapper
%if %{with_cgconfig} %if %{with_cgconfig}
Requires: libcgroup Requires: libcgroup
%endif %endif
%ifarch i386 i586 i686 x86_64 ia64 %ifarch %{ix86} x86_64 ia64
# For virConnectGetSysinfo # For virConnectGetSysinfo
Requires: dmidecode Requires: dmidecode
%endif %endif