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.02.132
-Release: 2
+Version: 2.02.140
+Release: 1
License: GPL v2 and LGPL v2.1
Group: Applications/System
Source0: ftp://sources.redhat.com/pub/lvm2/LVM2.%{version}.tgz
-# Source0-md5: 80af5af726949bbbb2aceb15b24b7d20
+# Source0-md5: f2191c4798c8927a6d31a96010b9f568
Source1: clvmd.sysconfig
Patch0: %{name}-selinux.patch
Patch1: %{name}-diet.patch
Patch6: %{name}-lvm_path.patch
Patch7: %{name}-clvmd_cmd_timeout.patch
Patch8: device-mapper-dmsetup-deps-export.patch
+Patch9: %{name}-run-dir.patch
URL: http://www.sourceware.org/lvm2/
BuildRequires: autoconf >= 2.61
BuildRequires: automake
%patch6 -p1
%patch7 -p1
%patch8 -p1
+%patch9 -p1
# do not force --export-symbol linker option for e.g. statically linked executables
# -rdynamic compiler option drives linker in the right way.
# no service restart available
/sbin/chkconfig --add blk-availability
-%postun
+%preun
if [ "$1" = "0" ]; then
%service lvm2-lvmetad stop
/sbin/chkconfig --del lvm2-lvmetad
# re-exec instead
/usr/sbin/clvmd -S 2>/dev/null || :
-%postun clvmd
+%preun clvmd
if [ "$1" = "0" ]; then
%service clvmd stop
/sbin/chkconfig --del clvmd
%attr(754,root,root) /etc/rc.d/init.d/lvm2-lvmpolld
%endif
%attr(754,root,root) /etc/rc.d/init.d/lvm2-monitor
-%attr(700,root,root) %dir /run/lvm
%attr(700,root,root) %dir /var/lock/lvm
+%attr(700,root,root) %dir /var/run/lvm
%if %{with cluster}
%files clvmd