[libvirt] [PATCH] spec: Require newer sanlock on recent distros 2

The previous commit was incomplete. We need to also add explicit Requires for the newer version since RPM's automatic dependencies won't work with sanlock. --- libvirt.spec.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libvirt.spec.in b/libvirt.spec.in index 15c6b39..a0dc560 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -1027,7 +1027,11 @@ Include header files & development libraries for the libvirt C library. %package lock-sanlock Summary: Sanlock lock manager plugin for QEMU driver Group: Development/Libraries +%if 0%{?fedora} >= 17 || 0%{?rhel} >= 6 +Requires: sanlock >= 2.4 +%else Requires: sanlock >= 1.8 +%endif #for virt-sanlock-cleanup require augeas Requires: augeas Requires: %{name}-daemon = %{version}-%{release} -- 1.7.12.3

On 10/16/12 23:55, Jiri Denemark wrote:
The previous commit was incomplete. We need to also add explicit Requires for the newer version since RPM's automatic dependencies won't work with sanlock. --- libvirt.spec.in | 4 ++++ 1 file changed, 4 insertions(+)
ACK. Peter

On Tue, Oct 16, 2012 at 23:59:51 +0200, Peter Krempa wrote:
On 10/16/12 23:55, Jiri Denemark wrote:
The previous commit was incomplete. We need to also add explicit Requires for the newer version since RPM's automatic dependencies won't work with sanlock. --- libvirt.spec.in | 4 ++++ 1 file changed, 4 insertions(+)
ACK.
Pushed, thanks. Jirka
participants (2)
-
Jiri Denemark
-
Peter Krempa