提交 48bf62fd 编写于 作者: J Jiri Denemark

spec: Require newer sanlock on recent distros

Make sure libvirt is build with sanlock >= 2.4 on distros that are new
enough to provide it.
上级 5ce6d95e
......@@ -410,8 +410,14 @@ BuildRequires: libpciaccess-devel >= 0.10.9
BuildRequires: yajl-devel
%endif
%if %{with_sanlock}
# make sure libvirt is built with new enough sanlock on
# distros that have it; required for on_lockfailure
%if 0%{?fedora} >= 17 || 0%{?rhel} >= 6
BuildRequires: sanlock-devel >= 2.4
%else
BuildRequires: sanlock-devel >= 1.8
%endif
%endif
%if %{with_libpcap}
BuildRequires: libpcap-devel
%endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册