[libvirt] [PATCH] Remove dmidecode dependancy outside PC arches

Jiri Denemark jdenemar at redhat.com
Tue Jan 17 15:50:03 UTC 2012


On Tue, Jan 17, 2012 at 23:45:10 +0800, Daniel Veillard wrote:
> The new dependancy is only available on ix86, x86_64 and ia64
> 
> diff --git a/libvirt.spec.in b/libvirt.spec.in
> index d06c067..a5bd173 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

ACK

Jirka




More information about the libvir-list mailing list