libdevmapper v1.02 is available for more then 13 years already and it
provides newer API which will allow to simplify code base.
---
configure.ac | 2 +-
ldm-1.0.pc.in | 2 +-
libldm.spec.in | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/configure.ac b/configure.ac
index 6f49f71..d1ac3af 100644
--- a/configure.ac
+++ b/configure.ac
@@ -99,7 +99,7 @@ PKG_CHECK_MODULES([UUID], [uuid],
]
)
-PKG_CHECK_MODULES([DEVMAPPER], [devmapper >= 1.0],
+PKG_CHECK_MODULES([DEVMAPPER], [devmapper >= 1.02],
[
AC_SUBST([DEVMAPPER_CFLAGS])
AC_SUBST([DEVMAPPER_LIBS])
diff --git a/ldm-1.0.pc.in b/ldm-1.0.pc.in
index 952f0f0..350546c 100644
--- a/ldm-1.0.pc.in
+++ b/ldm-1.0.pc.in
@@ -6,7 +6,7 @@ includedir=@includedir@
Name: LDM
Description: Microsoft Windows LDM device management library
Requires: gobject-2.0 >= 2.26.0 glib-2.0
-Requires.private: json-glib-1.0 >= 0.14.0 gio-unix-2.0 >= 2.32.0 devmapper >=
1.0
+Requires.private: json-glib-1.0 >= 0.14.0 gio-unix-2.0 >= 2.32.0 devmapper >=
1.02
Version: @VERSION@
Libs: -L${libdir} -lldm-1.0
Libs.private: -lz -luuid
diff --git a/libldm.spec.in b/libldm.spec.in
index 28cf160..bd8fe60 100644
--- a/libldm.spec.in
+++ b/libldm.spec.in
@@ -9,7 +9,7 @@ Source0: %{url}/downloads/%{name}-%{version}.tar.gz
BuildRequires: glib2-devel >= 2.26.0
BuildRequires: json-glib-devel >= 0.14.0
-BuildRequires: device-mapper-devel >= 1.0
+BuildRequires: device-mapper-devel >= 1.02
BuildRequires: zlib-devel libuuid-devel readline-devel
--
2.17.0