diff --git a/WHATS_NEW b/WHATS_NEW index e6f678650..530fb2f4b 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -1,8 +1,9 @@ Version 2.02.43 - =================================== + Use simplified x.y.z version number in libdevmapper.pc. + Merge device-mapper into the lvm2 tree. Remove ancient debian directory. Split out lvm-logging.h from log.h and lvm-globals.[ch] from log.[ch]. - Add libdm subdirectory for libdevmapper files. Version 2.02.42 - 26th October 2008 =================================== diff --git a/configure.in b/configure.in index 8b34f3e1b..f6604a292 100644 --- a/configure.in +++ b/configure.in @@ -721,6 +721,8 @@ AC_MSG_RESULT($interface) DM_LIB_VERSION="\"`cat VERSION_LIB 2>/dev/null || echo Unknown`\"" AC_DEFINE_UNQUOTED(DM_LIB_VERSION, $DM_LIB_VERSION, [Library version]) +DM_LIB_PATCHLEVEL=`cat VERSION_LIB | awk -F '[[-. ]]' '{printf "%s.%s.%s",$1,$2,$3}'` + LVM_VERSION="\"`cat VERSION 2>/dev/null || echo Unknown`\"" ################################################################################ @@ -744,6 +746,7 @@ AC_SUBST(DM_DEVICE_MODE) AC_SUBST(DM_DEVICE_UID) AC_SUBST(DM_IOCTLS) AC_SUBST(DM_LIB_VERSION) +AC_SUBST(DM_LIB_PATCHLEVEL) AC_SUBST(FSADM) AC_SUBST(GROUP) AC_SUBST(HAVE_LIBDL) diff --git a/libdm/libdevmapper.pc.in b/libdm/libdevmapper.pc.in index 4d15446e0..5d2aa1773 100644 --- a/libdm/libdevmapper.pc.in +++ b/libdm/libdevmapper.pc.in @@ -5,7 +5,7 @@ includedir=@includedir@ Name: devmapper Description: device-mapper library -Version: @DM_LIB_VERSION@ +Version: @DM_LIB_PATCHLEVEL@ Cflags: -I${includedir} Libs: -L${libdir} -ldevmapper Libs.private: -lselinux -lsepol