]> xenbits.xensource.com Git - libvirt.git/commitdiff
Remove dmidecode dependancy outside PC arches
authorDaniel Veillard <veillard@redhat.com>
Tue, 17 Jan 2012 15:41:28 +0000 (23:41 +0800)
committerDaniel Veillard <veillard@redhat.com>
Tue, 17 Jan 2012 16:22:17 +0000 (00:22 +0800)
The new dependancy is only available on ix86, x86_64 and ia64

libvirt.spec.in

index d06c0671c311cf8a93fa6e2b46624cade90b5b96..a5bd1738751e637e7eae965305117001654393cb 100644 (file)
@@ -346,8 +346,10 @@ Requires: device-mapper
 %if %{with_cgconfig}
 Requires: libcgroup
 %endif
+%ifarch i386 i586 i686 x86_64 ia64
 # For virConnectGetSysinfo
 Requires: dmidecode
+%endif
 # For service management
 %if %{with_systemd}
 Requires(post): systemd-units