Blame SPECS/device-mapper-persistent-data.spec

23e055
#
23e055
# Copyright (C) 2011-2017 Red Hat, Inc
23e055
#
23e055
23e055
Summary: Device-mapper Persistent Data Tools
23e055
Name: device-mapper-persistent-data
23e055
Version: 0.8.5
23e055
Release: 1%{?dist}
23e055
License: GPLv3+
23e055
Group: System Environment/Base
23e055
URL: https://github.com/jthornber/thin-provisioning-tools
23e055
#Source0: https://github.com/jthornber/thin-provisioning-tools/archive/thin-provisioning-tools-% {version}.tar.gz
23e055
Source0: https://github.com/jthornber/thin-provisioning-tools/archive/v%{version}.tar.gz
23e055
Patch0: device-mapper-persistent-data-avoid-strip.patch
23e055
Patch1: dmpd-space-map-noop-explicit-option-return.patch
23e055
23e055
BuildRequires: autoconf, expat-devel, libaio-devel, libstdc++-devel, boost-devel
23e055
Requires: expat
23e055
23e055
%description
23e055
thin-provisioning-tools contains check,dump,restore,repair,rmap
23e055
and metadata_size tools to manage device-mapper thin provisioning
23e055
target metadata devices; cache check,dump,metadata_size,restore
23e055
and repair tools to manage device-mapper cache metadata devices
23e055
are included and era check, dump, restore and invalidate to manage
23e055
snapshot eras
23e055
23e055
%prep
23e055
%setup -q -n thin-provisioning-tools-%{version}
23e055
%patch0 -p1 -b .avoid_strip
23e055
%patch1 -p1 -b .explicit_option_return
23e055
echo %{version}-%{release} > VERSION
23e055
23e055
%build
23e055
autoconf
23e055
%configure --with-optimisation=
23e055
make %{?_smp_mflags} V=
23e055
23e055
%install
23e055
make DESTDIR=%{buildroot} MANDIR=%{_mandir} install
23e055
23e055
%clean
23e055
23e055
%files
23e055
%doc COPYING README.md
23e055
%{_mandir}/man8/cache_check.8.gz
23e055
%{_mandir}/man8/cache_dump.8.gz
23e055
%{_mandir}/man8/cache_metadata_size.8.gz
23e055
%{_mandir}/man8/cache_repair.8.gz
23e055
%{_mandir}/man8/cache_restore.8.gz
23e055
%{_mandir}/man8/cache_writeback.8.gz
23e055
%{_mandir}/man8/era_check.8.gz
23e055
%{_mandir}/man8/era_dump.8.gz
23e055
%{_mandir}/man8/era_invalidate.8.gz
23e055
%{_mandir}/man8/era_restore.8.gz
23e055
%{_mandir}/man8/thin_check.8.gz
23e055
%{_mandir}/man8/thin_delta.8.gz
23e055
%{_mandir}/man8/thin_dump.8.gz
23e055
%{_mandir}/man8/thin_ls.8.gz
23e055
%{_mandir}/man8/thin_metadata_size.8.gz
23e055
%{_mandir}/man8/thin_repair.8.gz
23e055
%{_mandir}/man8/thin_restore.8.gz
23e055
%{_mandir}/man8/thin_rmap.8.gz
23e055
%{_mandir}/man8/thin_trim.8.gz
23e055
%{_sbindir}/pdata_tools
23e055
%{_sbindir}/cache_check
23e055
%{_sbindir}/cache_dump
23e055
%{_sbindir}/cache_metadata_size
23e055
%{_sbindir}/cache_repair
23e055
%{_sbindir}/cache_restore
23e055
%{_sbindir}/cache_writeback
23e055
%{_sbindir}/era_check
23e055
%{_sbindir}/era_dump
23e055
%{_sbindir}/era_invalidate
23e055
%{_sbindir}/era_restore
23e055
%{_sbindir}/thin_check
23e055
%{_sbindir}/thin_delta
23e055
%{_sbindir}/thin_dump
23e055
%{_sbindir}/thin_ls
23e055
%{_sbindir}/thin_metadata_size
23e055
%{_sbindir}/thin_repair
23e055
%{_sbindir}/thin_restore
23e055
%{_sbindir}/thin_rmap
23e055
%{_sbindir}/thin_trim
23e055
23e055
%changelog
23e055
* Mon Jun 10 2019 Marian Csontos <mcsontos@redhat.com> - 0.8.5-1
23e055
- Additional fixes for thin_dump and thin_repair.
23e055
23e055
* Mon May 27 2019 Marian Csontos <mcsontos@redhat.com> - 0.8.2-1
23e055
- Fix tools requiring additional --repair option.
23e055
23e055
* Sat May 04 2019 Marian Csontos <mcsontos@redhat.com> - 0.8.1-1
23e055
- Update to latest upstream release including various bug fixes.
23e055
23e055
* Tue Nov 14 2017 Marian Csontos <mcsontos@redhat.com> - 0.7.3-3
23e055
- Fix version 2 metadata corruption in cache_restore.
23e055
23e055
* Tue Oct 10 2017 Marian Csontos <mcsontos@redhat.com> - 0.7.3-2
23e055
- Rebuilding with updated source tarball.
23e055
23e055
* Fri Oct 06 2017 Marian Csontos <mcsontos@redhat.com> - 0.7.3-1
23e055
- Update to latest bugfix and documentation update release.
23e055
- *_restore tools wipe superblock as a last resort.
23e055
- Add thin_check --override-mapping-root.
23e055
23e055
* Fri Sep 22 2017 Marian Csontos <mcsontos@redhat.com> - 0.7.2-1
23e055
- Update to latest upstream release including various bug fixes and new features.
23e055
- Fix segfault when dump tools are given a tiny metadata file.
23e055
- Fix -V exiting with 1.
23e055
- Fix thin_check when running on XML dump instead of binary data.
23e055
- Speed up free block searches.
23e055
23e055
* Mon Mar 27 2017 Peter Rajnoha <prajnoha@redhat.com> - 0.7.0-0.1-rc6
23e055
- Don't open devices as writeable if --clear-needs-check-flag is not set.
23e055
- Fix cache metadata format version 2 superblock packing.
23e055
23e055
* Wed Mar 22 2017 Peter Rajnoha <prajnoha@redhat.com> - 0.7.0-0.1-rc5
23e055
- Switch to a faster implementation of crc32 used for checksums.
23e055
23e055
* Tue Mar 21 2017 Peter Rajnoha <prajnoha@redhat.com> - 0.7.0-0.1-rc4
23e055
- Add support for cache metadata format version 2 in cache tools.
23e055
23e055
* Thu Mar 16 2017 Peter Rajnoha <prajnoha@redhat.com> - 0.7.0-0.1-rc3
23e055
- Update to latest upstream release including various bug fixes and new features.
23e055
- New thin_show_duplicates command.
23e055
- Add '--skip-mappings' and '--format custom' options to thin_dump.
23e055
23e055
* Fri Jul 22 2016 Peter Rajnoha <prajnoha@redhat.com> - 0.6.3-1
23e055
- Fix regression in thin_repair and thin_restore so it works again
23e055
  when using device as output.
23e055
23e055
* Thu Jul 21 2016 Peter Rajnoha <prajnoha@redhat.com> - 0.6.2-2
23e055
- Improve documentation and messages on output file preallocation
23e055
  when using thin_repair and thin_restore.
23e055
23e055
* Mon Jul 11 2016 Peter Rajnoha <prajnoha@redhat.com> - 0.6.2-1
23e055
- Fixes providing proper use of compiler flags.
23e055
23e055
* Wed May 04 2016 Peter Rajnoha <prajnoha@redhat.com> - 0.6.2-0.1.rc8
23e055
- Fixes for thin_trim and thin_repair.
23e055
23e055
* Wed Mar 09 2016 Peter Rajnoha <prajnoha@redhat.com> - 0.6.2-0.1.rc6
23e055
- Add new fields to thin_ls: MAPPED_BYTES, EXCLUSIVE_BYTES and SHARED_BYTES.
23e055
23e055
* Tue Mar 08 2016 Peter Rajnoha <prajnoha@redhat.com> - 0.6.2-0.1.rc5
23e055
- New thin_ls command.
23e055
- era_invalidate may be run on live metadata if the --metadata-snap
23e055
  option is given.
23e055
23e055
* Thu Aug 13 2015 Peter Rajnoha <prajnoha@redhat.com> - 0.5.5-1
23e055
- Support thin_delta's --metadata_snap option without specifying snap location.
23e055
- Update man pages to make it clearer that tools shoulnd't be run on live metadata.
23e055
- Fix bugs in the metadata reference counting for thin_check.
23e055
23e055
* Fri Jul 17 2015 Peter Rajnoha <prajnoha@redhat.com> - 0.5.4-1
23e055
- Fix cache_check with --clear-needs-check-flag option to
23e055
  make sure metadata device is not open already by the tool
23e055
  when open with O_EXCL mode is requested.
23e055
23e055
* Tue Jul 07 2015 Peter Rajnoha <prajnoha@redhat.com> - 0.5.3-1
23e055
- Tools now open the metadata device in O_EXCL mode to stop
23e055
  running the tools on active metadata.
23e055
- Update to latest upstream release.
23e055
23e055
* Fri Jul 03 2015 Peter Rajnoha <prajnoha@redhat.com> - 0.5.2-1
23e055
- Fix bug in damage reporting in thin_dump and thin_check.
23e055
- Update to latest upstream release.
23e055
23e055
* Thu Jun 25 2015 Peter Rajnoha <prajnoha@redhat.com> - 0.5.1-1
23e055
- Add space map checking for thin_check.
23e055
- Add --clear-needs-check option for cache_check.
23e055
- Update to latest upstream release.
23e055
23e055
* Mon Jun 08 2015 Peter Rajnoha <prajnoha@redhat.com> - 0.4.2-1
23e055
- New thin_delta and thin_trim commands.
23e055
- Update to latest upstream release.
23e055
23e055
* Wed Nov 12 2014 Heinz Mauelshagen <heinzm@redhat.com> - 0.4.1-2
23e055
- Resolves: #1083394
23e055
- Resolves: #1085620
23e055
- Fixes empty debuginfo packages
23e055
23e055
* Tue Oct 28 2014 Heinz Mauelshagen <heinzm@redhat.com> - 0.4.1-1
23e055
- Resolves: #1083394
23e055
- Resolves: #1085620
23e055
23e055
* Wed Apr 2 2014 Heinz Mauelshagen <heinzm@redhat.com> - 0.3.2-1
23e055
- Resolves: #1081546
23e055
23e055
* Fri Mar 28 2014 Heinz Mauelshagen <heinzm@redhat.com> - 0.3.0-1
23e055
- Resolves: #1081546
23e055
23e055
* Fri Feb 28 2014 Heinz Mauelshagen <heinzm@redhat.com> - 0.2.8-5
23e055
- Resolves: #1057951
23e055
23e055
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 0.2.8-4
23e055
- Mass rebuild 2014-01-24
23e055
23e055
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.2.8-3
23e055
- Mass rebuild 2013-12-27
23e055
23e055
* Wed Oct 30 2013 Heinz Mauelshagen <heinzm@redhat.com> - 0.2.8-2
23e055
- Resolves: #1022834
23e055
23e055
* Fri Oct 18 2013 Heinz Mauelshagen <heinzm@redhat.com> - 0.2.8-1
23e055
- New upstream version 0.2.8 introducing cache_{check,dump,repair,restore}
23e055
  Resolves: #1020825
23e055
23e055
* Tue Sep 17 2013 Heinz Mauelshagen <heinzm@redhat.com> - 0.2.7-1
23e055
- New upstream version 0.2.7
23e055
  Resolves: #966264
23e055
23e055
* Wed Jul 31 2013 Heinz Mauelshagen <heinzm@redhat.com> - 0.2.3-1
23e055
- New upstream version
23e055
23e055
* Tue Jul 30 2013 Heinz Mauelshagen <heinzm@redhat.com> - 0.2.2-1
23e055
- New upstream version with missing man pages, thin_metadata_size
23e055
  calculator and thin_dump metadata snapshot support.
23e055
- Manual page header fixes
23e055
23e055
* Wed Jul 10 2013 Heinz Mauelshagen <heinzm@redhat.com> - 0.2.1-1
23e055
- New upstream version.
23e055
23e055
* Wed Jul 10 2013 Heinz Mauelshagen <heinzm@redhat.com> - 0.2.0-1
23e055
- New upstream version.
23e055
23e055
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.4-3
23e055
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
23e055
23e055
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.4-2
23e055
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
23e055
23e055
* Thu Apr 19 2012 Milan Broz <mbroz@redhat.com> - 0.1.4-1
23e055
- Fix thin_check man page (add -q option).
23e055
- Install utilities in /usr/sbin.
23e055
23e055
* Tue Mar 13 2012 Milan Broz <mbroz@redhat.com> - 0.1.2-1
23e055
- New upstream version.
23e055
23e055
* Mon Mar 05 2012 Milan Broz <mbroz@redhat.com> - 0.1.1-1
23e055
- Fix quiet option.
23e055
23e055
* Fri Mar 02 2012 Milan Broz <mbroz@redhat.com> - 0.1.0-1
23e055
- New upstream version.
23e055
23e055
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.1-3
23e055
- Rebuilt for c++ ABI breakage
23e055
23e055
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.1-2
23e055
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
23e055
23e055
* Wed Dec 21 2011 Milan Broz <mbroz@redhat.com> - 0.0.1-1
23e055
- Initial version