提交 bf09c64a 编写于 作者: E Eric Blake

spec: add dmidecode as prereq

https://bugzilla.redhat.com/show_bug.cgi?id=754909 complains that
because libvirt didn't require dmidecode, that the logs are noisy
and virConnectGetSysinfo needlessly fails.  Even 'virt-what' requires
dmidecode, so it's not that onerous of a dependency.  We may be
able to drop this in the future when we move to parsing sysfs data,
but for now, listing the dependency will help matters.

* libvirt.spec.in (Requires): Sort Requires before BuildRequires.
Add dmidecode.
(cherry picked from commit e7dfa468)
extra requires for with_systemd removed, since the patch that adds
that hasn't been backported
上级 dc738b83
......@@ -326,6 +326,8 @@ Requires: device-mapper
%if %{with_cgconfig}
Requires: libcgroup
%endif
# For virConnectGetSysinfo
Requires: dmidecode
# All build-time requirements
BuildRequires: python-devel
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册