diff --git a/.device-mapper-persistent-data.metadata b/.device-mapper-persistent-data.metadata index 2782253..31030aa 100644 --- a/.device-mapper-persistent-data.metadata +++ b/.device-mapper-persistent-data.metadata @@ -1 +1 @@ -7391d11b8f97043ed0e7c19693722535a5dbea5b SOURCES/thin-provisioning-tools-0.5.5.tar.gz +5aab3250a6af1855d3dcdcc44e6cd8d5cf5008b6 SOURCES/thin-provisioning-tools-0.6.2.tar.gz diff --git a/.gitignore b/.gitignore index 35e22e2..d253f0b 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/thin-provisioning-tools-0.5.5.tar.gz +SOURCES/thin-provisioning-tools-0.6.2.tar.gz diff --git a/SOURCES/device-mapper-persistent-avoid-strip.patch b/SOURCES/device-mapper-persistent-avoid-strip.patch deleted file mode 100644 index f7babda..0000000 --- a/SOURCES/device-mapper-persistent-avoid-strip.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/Makefile.in 2014-11-12 18:46:30.282251378 +0100 -+++ b/Makefile.in 2014-11-12 18:46:56.108608255 +0100 -@@ -108,7 +108,7 @@ - vpath %.cc $(TOP_DIR) - - INSTALL_DIR = $(INSTALL) -m 755 -d --INSTALL_PROGRAM = $(INSTALL) -m 755 -s -+INSTALL_PROGRAM = $(INSTALL) -m 755 - INSTALL_DATA = $(INSTALL) -p -m 644 - - ifeq ("@TESTING@", "yes") diff --git a/SOURCES/device-mapper-persistent-data-avoid-strip.patch b/SOURCES/device-mapper-persistent-data-avoid-strip.patch new file mode 100644 index 0000000..3b7379a --- /dev/null +++ b/SOURCES/device-mapper-persistent-data-avoid-strip.patch @@ -0,0 +1,11 @@ +diff -purN thin-provisioning-tools-0.6.0.orig/Makefile.in thin-provisioning-tools-0.6.0.new/Makefile.in +--- thin-provisioning-tools-0.6.0.orig/Makefile.in 2016-01-20 16:43:21.000000000 +0100 ++++ thin-provisioning-tools-0.6.0.new/Makefile.in 2016-01-20 17:26:11.943664295 +0100 +@@ -174,7 +174,6 @@ distclean: clean + install: bin/pdata_tools + $(INSTALL_DIR) $(BINDIR) + $(INSTALL_PROGRAM) bin/pdata_tools $(BINDIR) +- $(STRIP) $(BINDIR)/pdata_tools + ln -s -f pdata_tools $(BINDIR)/cache_check + ln -s -f pdata_tools $(BINDIR)/cache_dump + ln -s -f pdata_tools $(BINDIR)/cache_metadata_size diff --git a/SPECS/device-mapper-persistent-data.spec b/SPECS/device-mapper-persistent-data.spec index 9a25f93..3da6d69 100644 --- a/SPECS/device-mapper-persistent-data.spec +++ b/SPECS/device-mapper-persistent-data.spec @@ -1,9 +1,10 @@ # -# Copyright (C) 2011-2015 Red Hat, Inc +# Copyright (C) 2011-2016 Red Hat, Inc # + Summary: Device-mapper Persistent Data Tools Name: device-mapper-persistent-data -Version: 0.5.5 +Version: 0.6.2 Release: 1%{?dist} License: GPLv3+ Group: System Environment/Base @@ -12,7 +13,7 @@ Source0: https://github.com/jthornber/thin-provisioning-tools/archive/thin-provi # Source1: https://github.com/jthornber/thin-provisioning-tools/archive/v%{version}.tar.gz Patch0: device-mapper-persistent-data-document-clear-needs-check-flag.patch Patch1: device-mapper-persistent-data-add-era_restore-and-cache_metadata_size-man-pages.patch -Patch2: device-mapper-persistent-avoid-strip.patch +Patch2: device-mapper-persistent-data-avoid-strip.patch BuildRequires: autoconf, expat-devel, libaio-devel, libstdc++-devel, boost-devel Requires: expat @@ -54,6 +55,7 @@ make DESTDIR=%{buildroot} MANDIR=%{_mandir} install %{_mandir}/man8/thin_check.8.gz %{_mandir}/man8/thin_delta.8.gz %{_mandir}/man8/thin_dump.8.gz +%{_mandir}/man8/thin_ls.8.gz %{_mandir}/man8/thin_metadata_size.8.gz %{_mandir}/man8/thin_restore.8.gz %{_mandir}/man8/thin_repair.8.gz @@ -72,6 +74,7 @@ make DESTDIR=%{buildroot} MANDIR=%{_mandir} install %{_sbindir}/thin_check %{_sbindir}/thin_delta %{_sbindir}/thin_dump +%{_sbindir}/thin_ls %{_sbindir}/thin_metadata_size %{_sbindir}/thin_restore %{_sbindir}/thin_repair @@ -79,6 +82,11 @@ make DESTDIR=%{buildroot} MANDIR=%{_mandir} install %{_sbindir}/thin_trim %changelog +* Fri Jul 15 2016 Peter Rajnoha - 0.6.2-1 +- New thin_ls command. +- era_invalidate may be run on live metadata if the --metadata-snap + option is given. + * Thu Aug 13 2015 Peter Rajnoha - 0.5.5-1 - Support thin_delta's --metadata_snap option without specifying snap location. - Update man pages to make it clearer that tools shoulnd't be run on live metadata.