diff options
author | 2012-02-20 09:27:11 -0700 | |
---|---|---|
committer | 2012-02-20 09:37:52 -0700 | |
commit | cb8b9963fe0e1f6cc54f7f999ecc6338973a1e96 (patch) | |
tree | d50c1e013d46beac812198b91358d957416c00a8 /libvirt.spec.in | |
parent | Fix compilation on MacOS X (diff) | |
download | libvirt-cb8b9963fe0e1f6cc54f7f999ecc6338973a1e96.tar.gz libvirt-cb8b9963fe0e1f6cc54f7f999ecc6338973a1e96.tar.bz2 libvirt-cb8b9963fe0e1f6cc54f7f999ecc6338973a1e96.zip |
spec: use ix86 macros
* libvirt.spec.in: Use %{ix86} rather than open-coded list.
Diffstat (limited to 'libvirt.spec.in')
-rw-r--r-- | libvirt.spec.in | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libvirt.spec.in b/libvirt.spec.in index 8ab91e790..67cde23d9 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -22,7 +22,7 @@ # RHEL-5 builds are client-only for s390, ppc %if 0%{?rhel} == 5 -%ifnarch i386 i586 i686 x86_64 ia64 +%ifnarch %{ix86} x86_64 ia64 %define client_only 1 %endif %endif @@ -93,7 +93,7 @@ # Finally set the OS / architecture specific special cases # 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_libxl 0 %endif @@ -184,7 +184,7 @@ %define with_sanlock 0%{!?_without_sanlock:%{server_drivers}} %endif %if 0%{?rhel} >= 6 -%ifarch i386 i586 i686 x86_64 +%ifarch %{ix86} x86_64 %define with_sanlock 0%{!?_without_sanlock:%{server_drivers}} %endif %endif @@ -346,7 +346,7 @@ Requires: device-mapper %if %{with_cgconfig} Requires: libcgroup %endif -%ifarch i386 i586 i686 x86_64 ia64 +%ifarch %{ix86} x86_64 ia64 # For virConnectGetSysinfo Requires: dmidecode %endif |