]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
spec: use ix86 macros
authorPeter Robinson <pbrobinson@gmail.com>
Mon, 20 Feb 2012 16:27:11 +0000 (09:27 -0700)
committerEric Blake <eblake@redhat.com>
Mon, 20 Feb 2012 16:37:52 +0000 (09:37 -0700)
* libvirt.spec.in: Use %{ix86} rather than open-coded list.

AUTHORS
libvirt.spec.in

diff --git a/AUTHORS b/AUTHORS
index 7c2a6c4aac5cb98d505c85909d8b1357fd2b0108..1769e8abed475622d35efa3e9dbadb8a468fa503 100644 (file)
--- a/AUTHORS
+++ b/AUTHORS
@@ -221,6 +221,7 @@ Patches have also been contributed by:
   Dan Wendlandt        <dan@nicira.com>
   Kyle Mestery         <kmestery@cisco.com>
   Lincoln Myers        <lincoln_myers@yahoo.com>
+  Peter Robinson       <pbrobinson@gmail.com>
 
   [....send patches to get your name here....]
 
index 8ab91e790f098b8cba138bb35422c8beca67d8b9..67cde23d9abfffda1726d565abf4d945851e33a7 100644 (file)
@@ -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
 %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