+++ /dev/null
-diff -dur -x '*~' LVM2.2.02.95.orig/configure.in LVM2.2.02.95/configure.in
---- LVM2.2.02.95.orig/configure.in 2012-07-01 15:33:45.000000000 +0200
-+++ LVM2.2.02.95/configure.in 2012-07-02 18:41:07.560481138 +0200
-@@ -1267,7 +1267,7 @@
- lvm_exec_prefix=$exec_prefix
- test "$lvm_exec_prefix" = NONE && lvm_exec_prefix=$prefix
- test "$lvm_exec_prefix" = NONE && lvm_exec_prefix=$ac_default_prefix
--LVM_PATH="$lvm_exec_prefix/sbin/lvm"
-+LVM_PATH="$sbindir/lvm"
- AC_DEFINE_UNQUOTED(LVM_PATH, ["$LVM_PATH"], [Path to lvm binary.])
-
- if test "$CLVMD" != none; then
-diff -urp LVM2.2.02.177.orig/configure.in LVM2.2.02.177/configure.in
---- LVM2.2.02.177.orig/configure.in 2017-12-18 20:44:34.000000000 +0000
-+++ LVM2.2.02.177/configure.in 2018-01-26 16:41:52.154221979 +0000
-@@ -706,8 +706,7 @@ pkg_config_init() {
+diff -ur LVM2.2.02.179.orig/configure.ac LVM2.2.02.179/configure.ac
+--- LVM2.2.02.179.orig/configure.ac 2018-06-18 05:24:22.000000000 +0000
++++ LVM2.2.02.179/configure.ac 2018-07-11 15:49:58.540700530 +0000
+@@ -643,8 +643,7 @@
################################################################################
AC_MSG_CHECKING(for default run directory)
Summary(pl.UTF-8): Nowa wersja Logical Volume Managera dla Linuksa
Name: lvm2
Version: 2.02.179
-Release: 1
+Release: 2
License: GPL v2 and LGPL v2.1
Group: Applications/System
Source0: ftp://sources.redhat.com/pub/lvm2/LVM2.%{version}.tgz
Patch2: device-mapper-dmsetup-export.patch
Patch3: %{name}-tld_init.patch
Patch4: dl-dlsym.patch
-Patch8: %{name}-clvmd_cmd_timeout.patch
-Patch9: device-mapper-dmsetup-deps-export.patch
-Patch11: %{name}-thin.patch
+Patch5: %{name}-run-dir.patch
+Patch6: %{name}-clvmd_cmd_timeout.patch
+Patch7: device-mapper-dmsetup-deps-export.patch
+Patch8: %{name}-thin.patch
URL: http://www.sourceware.org/lvm2/
BuildRequires: autoconf >= 2.69
BuildRequires: automake
%patch1 -p1
%patch2 -p1
%patch3 -p1
-%patch4 -p1
+%patch5 -p1
+%patch6 -p1
+%patch7 -p1
%patch8 -p1
-%patch9 -p1
-%patch11 -p1
# do not force --export-symbol linker option for e.g. statically linked executables
# -rdynamic compiler option drives linker in the right way.
%ghost %{_sysconfdir}/lvm/cache/.cache
%attr(754,root,root) /etc/rc.d/init.d/blk-availability
%attr(754,root,root) /etc/rc.d/init.d/lvm2-monitor
-%attr(700,root,root) %dir /run/lvm
+%attr(700,root,root) %dir /var/run/lvm
%attr(700,root,root) %dir /var/lock/lvm
%if %{with lvmetad}
%attr(755,root,root) %{_sbindir}/lvmetad