From 450c927d9a4af6bbe676d66208b86601a7179e25 Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Tue, 17 Jan 2012 23:41:28 +0800 Subject: [PATCH] Remove dmidecode dependancy outside PC arches The new dependancy is only available on ix86, x86_64 and ia64 --- libvirt.spec.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libvirt.spec.in b/libvirt.spec.in index d06c0671c3..a5bd173875 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -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