--- /dev/null
+diff -ur LVM2.2.03.01.orig/configure LVM2.2.03.01/configure
+--- LVM2.2.03.01.orig/configure 2018-10-31 14:54:24.000000000 +0000
++++ LVM2.2.03.01/configure 2018-12-04 08:44:19.090403000 +0000
+@@ -3067,7 +3067,7 @@
+ fi
+ case "$host_os" in
+ linux*)
+- CLDFLAGS="${CLDFLAGS:"$LDFLAGS"} -Wl,--version-script,.export.sym"
++ CLDFLAGS="$CLDFLAGS -Wl,--version-script,.export.sym"
+ # equivalent to -rdynamic
+ ELDFLAGS="-Wl,--export-dynamic"
+ # FIXME Generate list and use --dynamic-list=.dlopen.sym
+@@ -3087,7 +3087,7 @@
+ ;;
+ darwin*)
+ CFLAGS="$CFLAGS -no-cpp-precomp -fno-common"
+- CLDFLAGS="${CLDFLAGS:"$LDFLAGS"}"
++ CLDFLAGS="$CLDFLAGS"
+ ELDFLAGS=
+ CLDWHOLEARCHIVE="-all_load"
+ CLDNOWHOLEARCHIVE=
+@@ -3099,9 +3099,6 @@
+ FSADM=no
+ BLKDEACTIVATE=no
+ ;;
+- *)
+- CLDFLAGS="${CLDFLAGS:"$LDFLAGS"}"
+- ;;
+ esac
+
+ ################################################################################
+diff -ur LVM2.2.03.01.orig/configure.ac LVM2.2.03.01/configure.ac
+--- LVM2.2.03.01.orig/configure.ac 2018-10-31 14:54:24.000000000 +0000
++++ LVM2.2.03.01/configure.ac 2018-12-04 08:44:19.091403000 +0000
+@@ -30,7 +30,7 @@
+ AS_IF([test -z "$CFLAGS"], [COPTIMISE_FLAG="-O2"])
+ case "$host_os" in
+ linux*)
+- CLDFLAGS="${CLDFLAGS:"$LDFLAGS"} -Wl,--version-script,.export.sym"
++ CLDFLAGS="$CLDFLAGS -Wl,--version-script,.export.sym"
+ # equivalent to -rdynamic
+ ELDFLAGS="-Wl,--export-dynamic"
+ # FIXME Generate list and use --dynamic-list=.dlopen.sym
+@@ -50,7 +50,7 @@
+ ;;
+ darwin*)
+ CFLAGS="$CFLAGS -no-cpp-precomp -fno-common"
+- CLDFLAGS="${CLDFLAGS:"$LDFLAGS"}"
++ CLDFLAGS="$CLDFLAGS"
+ ELDFLAGS=
+ CLDWHOLEARCHIVE="-all_load"
+ CLDNOWHOLEARCHIVE=
+@@ -62,9 +62,6 @@
+ FSADM=no
+ BLKDEACTIVATE=no
+ ;;
+- *)
+- CLDFLAGS="${CLDFLAGS:"$LDFLAGS"}"
+- ;;
+ esac
+
+ ################################################################################
+++ /dev/null
-diff -urp LVM2.2.03.00.orig/conf/example.conf.in LVM2.2.03.00/conf/example.conf.in
---- LVM2.2.03.00.orig/conf/example.conf.in 2018-10-21 20:55:01.790416609 +0000
-+++ LVM2.2.03.00/conf/example.conf.in 2018-10-21 21:48:01.712416609 +0000
-@@ -1016,7 +1016,7 @@ global {
- # are checked during pvscan --cache. To filter a device and prevent
- # scanning from the LVM system entirely, including lvmetad, use
- # devices/global_filter.
-- use_lvmetad = @DEFAULT_USE_LVMETAD@
-+ use_lvmetad = 0
-
- # Configuration option global/lvmetad_update_wait_time.
- # Number of seconds a command will wait for lvmetad update to finish.
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.00
-Release: 2
+Version: 2.03.01
+Release: 1
License: GPL v2 and LGPL v2.1
Group: Applications/System
Source0: ftp://sources.redhat.com/pub/lvm2/LVM2.%{version}.tgz
-# Source0-md5: f63cc5feaadd3000138e73f7143ed370
+# Source0-md5: 800287d3521388dcc4a601d099b47bcd
Patch0: %{name}-selinux.patch
Patch1: device-mapper-dmsetup-export.patch
Patch2: %{name}-tld_init.patch
Patch5: device-mapper-dmsetup-deps-export.patch
Patch6: %{name}-thin.patch
Patch7: %{name}-no-systemd.patch
-Patch8: %{name}-removed-lvmetad-fix.patch
+Patch8: bashizm.patch
URL: http://www.sourceware.org/lvm2/
BuildRequires: autoconf >= 2.69
BuildRequires: automake