Reinstate lvm2-lockd on all architectures as sanlock package is fixed now.
This commit is contained in:
parent
25f0e59ea0
commit
083040f8df
11
lvm2.spec
11
lvm2.spec
@ -22,11 +22,7 @@
|
|||||||
%global persistent_data_version 0.5.5-1
|
%global persistent_data_version 0.5.5-1
|
||||||
%global sanlock_version 3.2.4-1
|
%global sanlock_version 3.2.4-1
|
||||||
|
|
||||||
%ifnarch x86_64 aarch64 %{power64}
|
|
||||||
%global enable_lockd_sanlock 0
|
|
||||||
%else
|
|
||||||
%global enable_lockd_sanlock %{enable_lvmlockd}
|
%global enable_lockd_sanlock %{enable_lvmlockd}
|
||||||
%endif
|
|
||||||
%global enable_lockd_dlm %{enable_lvmlockd}
|
%global enable_lockd_dlm %{enable_lvmlockd}
|
||||||
|
|
||||||
%if 0%{?rhel}
|
%if 0%{?rhel}
|
||||||
@ -57,7 +53,7 @@ Summary: Userland logical volume management tools
|
|||||||
Name: lvm2
|
Name: lvm2
|
||||||
|
|
||||||
Version: 2.02.143
|
Version: 2.02.143
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
URL: http://sources.redhat.com/lvm2
|
URL: http://sources.redhat.com/lvm2
|
||||||
@ -497,7 +493,9 @@ Requires: lvm2 = %{version}-%{release}
|
|||||||
%if %{enable_lockd_sanlock}
|
%if %{enable_lockd_sanlock}
|
||||||
Requires: sanlock-lib >= %{sanlock_version}
|
Requires: sanlock-lib >= %{sanlock_version}
|
||||||
%endif
|
%endif
|
||||||
|
%if %{enable_lockd_dlm}
|
||||||
Requires: dlm >= %{dlm_version}
|
Requires: dlm >= %{dlm_version}
|
||||||
|
%endif
|
||||||
Requires(post): systemd-units >= %{systemd_version}
|
Requires(post): systemd-units >= %{systemd_version}
|
||||||
Requires(preun): systemd-units >= %{systemd_version}
|
Requires(preun): systemd-units >= %{systemd_version}
|
||||||
Requires(postun): systemd-units >= %{systemd_version}
|
Requires(postun): systemd-units >= %{systemd_version}
|
||||||
@ -840,6 +838,9 @@ the device-mapper event library.
|
|||||||
%{_libdir}/pkgconfig/devmapper-event.pc
|
%{_libdir}/pkgconfig/devmapper-event.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Feb 24 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.143-4
|
||||||
|
- Reinstate lvm2-lockd on all architectures as sanlock package is fixed now.
|
||||||
|
|
||||||
* Tue Feb 23 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.143-3
|
* 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.
|
- Remove Requires: sanlock-lib for lvm2-lockd subpackage if sanlock not compiled.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user