Build lvm2-lockd with sanlock support only on x86_64, arch64 and power64 arch.

Sanlock is built only on these architectures.
This commit is contained in:
Peter Rajnoha 2016-02-23 11:04:15 +01:00
parent 385e3f78a3
commit ac7b6de49d

View File

@ -22,7 +22,11 @@
%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}
@ -836,6 +840,7 @@ the device-mapper event library.
%changelog %changelog
* Tue Feb 23 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.143-2 * Tue Feb 23 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.143-2
- Add Requires: python3-gobject dependency for lvm2-dbusd subpackage. - Add Requires: python3-gobject dependency for lvm2-dbusd subpackage.
- Build lvm2-lockd with sanlock support only on x86_64, arch64 and power64 arch.
* Mon Feb 22 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.143-1 * Mon Feb 22 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.143-1
- Introduce new lvm2-dbusd package providing LVM D-Bus daemon and service. - Introduce new lvm2-dbusd package providing LVM D-Bus daemon and service.