%bcond_with sanlock # sanlock support in lvmlockd
# - additional features
%bcond_without selinux # SELinux support
-# - bindings
-%bcond_without python # Python bindings
-%bcond_without python2 # Python 2 binding
-%bcond_without python3 # Python 3 binding and lvmdbusd
# lvmlockd requires lvmpolld
%if %{without lvmpolld}
Summary: The new version of Logical Volume Manager for Linux
Summary(pl.UTF-8): Nowa wersja Logical Volume Managera dla Linuksa
Name: lvm2
-Version: 2.03.32
+Version: 2.03.34
Release: 1
License: GPL v2 and LGPL v2.1
Group: Applications/System
Source0: ftp://sourceware.org/pub/lvm2/LVM2.%{version}.tgz
-# Source0-md5: 9e77031e91fec1172a5568e1de8507e5
+# Source0-md5: 947741079e22a35d76aefa99861b406a
Patch0: %{name}-selinux.patch
Patch1: device-mapper-dmsetup-export.patch
Patch2: %{name}-tld_init.patch
BuildRequires: python3-dbus
BuildRequires: python3-devel >= 1:3.2
BuildRequires: python3-pyudev
+%if %{_ver_ge %py3_ver 3.12}
+BuildRequires: python3-setuptools
+%endif
%endif
BuildRequires: readline-devel
-BuildRequires: rpmbuild(macros) >= 1.647
+BuildRequires: rpmbuild(macros) >= 1.750
%{?with_sanlock:BuildRequires: sanlock-devel >= 3.3.0}
BuildRequires: udev-devel >= 1:176
%if %{with cluster}
%attr(755,root,root) %{_sbindir}/lvmdevices
%attr(755,root,root) %{_sbindir}/lvmdiskscan
%attr(755,root,root) %{_sbindir}/lvmdump
+%attr(755,root,root) %{_sbindir}/lvmpersist
%attr(755,root,root) %{_sbindir}/lvmsadc
%attr(755,root,root) %{_sbindir}/lvmsar
%attr(755,root,root) %{_sbindir}/lvreduce
%{_mandir}/man8/lvmdevices.8*
%{_mandir}/man8/lvmdiskscan.8*
%{_mandir}/man8/lvmdump.8*
+%{_mandir}/man8/lvmpersist.8*
%{_mandir}/man8/lvmsadc.8*
%{_mandir}/man8/lvmsar.8*
%{_mandir}/man8/lvreduce.8*