Remove Requires: sanlock-lib for lvm2-lockd subpackage if sanlock not compiled.

This commit is contained in:
Peter Rajnoha 2016-02-23 11:59:45 +01:00
parent ac7b6de49d
commit 25f0e59ea0

View File

@ -57,7 +57,7 @@ Summary: Userland logical volume management tools
Name: lvm2
Version: 2.02.143
Release: 2%{?dist}
Release: 3%{?dist}
License: GPLv2
Group: System Environment/Base
URL: http://sources.redhat.com/lvm2
@ -494,7 +494,9 @@ logical volumes, physical volumes, and volume groups.
Summary: LVM locking daemon
Group: System Environment/Base
Requires: lvm2 = %{version}-%{release}
%if %{enable_lockd_sanlock}
Requires: sanlock-lib >= %{sanlock_version}
%endif
Requires: dlm >= %{dlm_version}
Requires(post): systemd-units >= %{systemd_version}
Requires(preun): systemd-units >= %{systemd_version}
@ -838,6 +840,9 @@ the device-mapper event library.
%{_libdir}/pkgconfig/devmapper-event.pc
%changelog
* Tue Feb 23 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.143-3
- Remove Requires: sanlock-lib for lvm2-lockd subpackage if sanlock not compiled.
* Tue Feb 23 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.143-2
- Add Requires: python3-gobject dependency for lvm2-dbusd subpackage.
- Build lvm2-lockd with sanlock support only on x86_64, arch64 and power64 arch.