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

c4d266
#
c4d266
# Copyright (C) 2011-2017 Red Hat, Inc
c4d266
#
c4d266
c4d266
Summary: Device-mapper Persistent Data Tools
c4d266
Name: device-mapper-persistent-data
c4d266
Version: 0.7.6
c4d266
Release: 1%{?dist}
c4d266
License: GPLv3+
c4d266
Group: System Environment/Base
c4d266
URL: https://github.com/jthornber/thin-provisioning-tools
c4d266
#Source0: https://github.com/jthornber/thin-provisioning-tools/archive/thin-provisioning-tools-% {version}.tar.gz
c4d266
Source0: https://github.com/jthornber/thin-provisioning-tools/archive/v%{version}.tar.gz
c4d266
Patch0: device-mapper-persistent-data-avoid-strip.patch
c4d266
c4d266
BuildRequires: autoconf, expat-devel, libaio-devel, libstdc++-devel, boost-devel, gcc-c++
c4d266
Requires: expat
c4d266
c4d266
%description
c4d266
thin-provisioning-tools contains check,dump,restore,repair,rmap
c4d266
and metadata_size tools to manage device-mapper thin provisioning
c4d266
target metadata devices; cache check,dump,metadata_size,restore
c4d266
and repair tools to manage device-mapper cache metadata devices
c4d266
are included and era check, dump, restore and invalidate to manage
c4d266
snapshot eras
c4d266
c4d266
%prep
c4d266
%setup -q -n thin-provisioning-tools-%{version}
c4d266
%patch0 -p1 -b .avoid_strip
c4d266
echo %{version}-%{release} > VERSION
c4d266
c4d266
%build
c4d266
autoconf
c4d266
%configure --with-optimisation=
c4d266
make %{?_smp_mflags} V=
c4d266
c4d266
%install
c4d266
make DESTDIR=%{buildroot} MANDIR=%{_mandir} install
c4d266
c4d266
%clean
c4d266
c4d266
%files
c4d266
%doc COPYING README.md
c4d266
%{_mandir}/man8/cache_check.8.gz
c4d266
%{_mandir}/man8/cache_dump.8.gz
c4d266
%{_mandir}/man8/cache_metadata_size.8.gz
c4d266
%{_mandir}/man8/cache_repair.8.gz
c4d266
%{_mandir}/man8/cache_restore.8.gz
c4d266
%{_mandir}/man8/cache_writeback.8.gz
c4d266
%{_mandir}/man8/era_check.8.gz
c4d266
%{_mandir}/man8/era_dump.8.gz
c4d266
%{_mandir}/man8/era_invalidate.8.gz
c4d266
%{_mandir}/man8/era_restore.8.gz
c4d266
%{_mandir}/man8/thin_check.8.gz
c4d266
%{_mandir}/man8/thin_delta.8.gz
c4d266
%{_mandir}/man8/thin_dump.8.gz
c4d266
%{_mandir}/man8/thin_ls.8.gz
c4d266
%{_mandir}/man8/thin_metadata_size.8.gz
c4d266
%{_mandir}/man8/thin_repair.8.gz
c4d266
%{_mandir}/man8/thin_restore.8.gz
c4d266
%{_mandir}/man8/thin_rmap.8.gz
c4d266
%{_mandir}/man8/thin_trim.8.gz
c4d266
%{_sbindir}/pdata_tools
c4d266
%{_sbindir}/cache_check
c4d266
%{_sbindir}/cache_dump
c4d266
%{_sbindir}/cache_metadata_size
c4d266
%{_sbindir}/cache_repair
c4d266
%{_sbindir}/cache_restore
c4d266
%{_sbindir}/cache_writeback
c4d266
%{_sbindir}/era_check
c4d266
%{_sbindir}/era_dump
c4d266
%{_sbindir}/era_invalidate
c4d266
%{_sbindir}/era_restore
c4d266
%{_sbindir}/thin_check
c4d266
%{_sbindir}/thin_delta
c4d266
%{_sbindir}/thin_dump
c4d266
%{_sbindir}/thin_ls
c4d266
%{_sbindir}/thin_metadata_size
c4d266
%{_sbindir}/thin_repair
c4d266
%{_sbindir}/thin_restore
c4d266
%{_sbindir}/thin_rmap
c4d266
%{_sbindir}/thin_trim
c4d266
#% {_sbindir}/thin_show_duplicates
c4d266
c4d266
%changelog
c4d266
* Tue Apr 24 2018 Marian Csontos <mcsontos@redhat.com> - 0.7.6-1
c4d266
- Update to latest upstream version
c4d266
c4d266
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.5-3
c4d266
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
c4d266
c4d266
* Tue Jan 23 2018 Jonathan Wakely <jwakely@redhat.com> - 0.7.5-2
c4d266
- Rebuilt for Boost 1.66
c4d266
c4d266
* Tue Nov 14 2017 Marian Csontos <mcsontos@redhat.com> - 0.7.5-1
c4d266
- Fix version 2 metadata corruption in cache_restore.
c4d266
c4d266
* Fri Oct 06 2017 Marian Csontos <mcsontos@redhat.com> - 0.7.3-1
c4d266
- Update to latest bugfix and documentation update release.
c4d266
- *_restore tools wipe superblock as a last resort.
c4d266
- Add thin_check --override-mapping-root.
c4d266
c4d266
* Fri Sep 22 2017 Marian Csontos <mcsontos@redhat.com> - 0.7.2-1
c4d266
- Update to latest upstream release including various bug fixes and new features.
c4d266
- Fix segfault when dump tools are given a tiny metadata file.
c4d266
- Fix -V exiting with 1.
c4d266
- Fix thin_check when running on XML dump instead of binary data.
c4d266
- Speed up free block searching.
c4d266
c4d266
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-0.6.rc6
c4d266
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
c4d266
c4d266
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-0.5.rc6
c4d266
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
c4d266
c4d266
* Mon Jul 03 2017 Jonathan Wakely <jwakely@redhat.com> - 0.7.0-0.4.rc6
c4d266
- Rebuilt for Boost 1.64
c4d266
c4d266
* Tue May 23 2017 Marian Csontos <mcsontos@redhat.com> - 0.7.0-0.3.rc6
c4d266
- Rebuilt for mass rebuild incorrectly tagging master to .fc26
c4d266
c4d266
* Mon May 15 2017 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.0-0.2.rc6
c4d266
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild
c4d266
c4d266
* Mon Mar 27 2017 Peter Rajnoha <prajnoha@redhat.com> - 0.7.0-0.1-rc6
c4d266
- Don't open devices as writeable if --clear-needs-check-flag is not set.
c4d266
- Fix cache metadata format version 2 superblock packing.
c4d266
c4d266
* Wed Mar 22 2017 Peter Rajnoha <prajnoha@redhat.com> - 0.7.0-0.1-rc5
c4d266
- Switch to a faster implementation of crc32 used for checksums.
c4d266
c4d266
* Tue Mar 21 2017 Peter Rajnoha <prajnoha@redhat.com> - 0.7.0-0.1-rc4
c4d266
- Add support for cache metadata format version 2 in cache tools.
c4d266
c4d266
* Thu Mar 16 2017 Peter Rajnoha <prajnoha@redhat.com> - 0.7.0-0.1-rc3
c4d266
- Fix compilation warnings and further code cleanup.
c4d266
c4d266
* Thu Mar 09 2017 Peter Rajnoha <prajnoha@redhat.com> - 0.7.0-0.1-rc2
c4d266
- Update to latest upstream release including various bug fixes and new features.
c4d266
- New thin_show_duplicates command.
c4d266
- Add '--skip-mappings' and '--format custom' options to thin_dump.
c4d266
c4d266
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-3
c4d266
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
c4d266
c4d266
* Fri Jan 27 2017 Jonathan Wakely <jwakely@redhat.com> - 0.6.3-2
c4d266
- Rebuilt for Boost 1.63
c4d266
c4d266
* Thu Sep 22 2016 Peter Rajnoha <prajnoha@redhat.com> - 0.6.3-1
c4d266
- Preallocate output file for thin_repair and thin_restore.
c4d266
c4d266
* Mon Jul 11 2016 Peter Rajnoha <prajnoha@redhat.com> - 0.6.2-1
c4d266
- Fixes providing proper use of compiler flags.
c4d266
c4d266
* Mon Apr 11 2016 Peter Rajnoha <prajnoha@redhat.com> - 0.6.2-0.1.rc8
c4d266
- Fixes for thin_trim.
c4d266
c4d266
* Tue Mar 22 2016 Peter Rajnoha <prajnoha@redhat.com> - 0.6.2-0.1.rc7
c4d266
- Fixes for thin_repair.
c4d266
c4d266
* Wed Mar 09 2016 Peter Rajnoha <prajnoha@redhat.com> - 0.6.2-0.1.rc6
c4d266
- Add new fields to thin_ls: MAPPED_BYTES, EXCLUSIVE_BYTES and SHARED_BYTES.
c4d266
c4d266
* Thu Feb 18 2016 Peter Rajnoha <prajnoha@redhat.com> - 0.6.2-0.1.rc5
c4d266
- Fixes for thin_delta.
c4d266
c4d266
* Mon Feb 15 2016 Peter Rajnoha <prajnoha@redhat.com> - 0.6.2-0.1.rc4
c4d266
- Fix bug in mapping comparison while using thin_delta.
c4d266
c4d266
* Mon Feb 15 2016 Peter Rajnoha <prajnoha@redhat.com> - 0.6.2-0.1.rc3
c4d266
- Fix recent regression in thin_repair.
c4d266
- Force g++-98 dialect.
c4d266
c4d266
* Mon Feb 15 2016 Peter Rajnoha <prajnoha@redhat.com> - 0.6.2-0.1.rc1
c4d266
- Fix bug in thin_dump when using metadata snaps.
c4d266
c4d266
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-2
c4d266
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
c4d266
c4d266
* Wed Jan 20 2016 Peter Rajnoha <prajnoha@redhat.com> - 0.6.0-1
c4d266
- New thin_ls command.
c4d266
c4d266
* Wed Jan 20 2016 Peter Rajnoha <prajnoha@redhat.com> - 0.5.6-1
c4d266
- era_invalidate may be run on live metadata if the --metadata-snap
c4d266
  option is given.
c4d266
c4d266
* Fri Jan 15 2016 Jonathan Wakely <jwakely@redhat.com> - 0.5.5-3
c4d266
- Rebuilt for Boost 1.60
c4d266
c4d266
* Thu Aug 27 2015 Jonathan Wakely <jwakely@redhat.com> - 0.5.5-2
c4d266
- Rebuilt for Boost 1.59
c4d266
c4d266
* Thu Aug 13 2015 Peter Rajnoha <prajnoha@redhat.com> - 0.5.5-1
c4d266
- Support thin_delta's --metadata_snap option without specifying snap location.
c4d266
- Update man pages to make it clearer that tools shoulnd't be run on live metadata.
c4d266
- Fix bugs in the metadata reference counting for thin_check.
c4d266
c4d266
* Wed Jul 29 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.4-3
c4d266
- Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159
c4d266
c4d266
* Wed Jul 22 2015 David Tardon <dtardon@redhat.com> - 0.5.4-2
c4d266
- rebuild for Boost 1.58
c4d266
c4d266
* Fri Jul 17 2015 Peter Rajnoha <prajnoha@redhat.com> - 0.5.4-1
c4d266
- Fix cache_check with --clear-needs-check-flag option to
c4d266
  make sure metadata device is not open already by the tool
c4d266
  when open with O_EXCL mode is requested.
c4d266
c4d266
* Fri Jul 03 2015 Peter Rajnoha <prajnoha@redhat.com> - 0.5.3-1
c4d266
- Tools now open the metadata device in O_EXCL mode to stop
c4d266
  running the tools on active metadata.
c4d266
c4d266
* Fri Jul 03 2015 Peter Rajnoha <prajnoha@redhat.com> - 0.5.2-1
c4d266
- Fix bug in damage reporting in thin_dump and thin_check.
c4d266
c4d266
* Thu Jun 25 2015 Peter Rajnoha <prajnoha@redhat.com> - 0.5.1-1
c4d266
- Fix crash if tools are given a very large metadata device to restore to.
c4d266
c4d266
* Mon Jun 22 2015 Peter Rajnoha <prajnoha@redhat.com> - 0.5.0-1
c4d266
- Add space map checking for thin_check.
c4d266
- Add --clear-needs-check option for cache_check.
c4d266
- Update to latest upstream release.
c4d266
c4d266
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.2-2
c4d266
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
c4d266
c4d266
* Mon Jun 08 2015 Peter Rajnoha <prajnoha@redhat.com> - 0.4.2-1
c4d266
- New thin_delta and thin_trim commands.
c4d266
- Update to latest upstream release.
c4d266
c4d266
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 0.4.1-4
c4d266
- Rebuilt for GCC 5 C++11 ABI change
c4d266
c4d266
* Mon Jan 26 2015 Petr Machata <pmachata@redhat.com> - 0.4.1-3
c4d266
- Rebuild for boost 1.57.0
c4d266
c4d266
* Wed Oct 29 2014 Heinz Mauelshagen <heinzm@redhat.com> - 0.4.1-2
c4d266
- Resolves: bz#1159466
c4d266
c4d266
* Wed Oct 29 2014 Heinz Mauelshagen <heinzm@redhat.com> - 0.4.1-1
c4d266
- New upstream version
c4d266
- Manual header additions/fixes
c4d266
c4d266
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.2-4
c4d266
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
c4d266
c4d266
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.2-3
c4d266
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
c4d266
c4d266
* Thu May 22 2014 Petr Machata <pmachata@redhat.com> - 0.3.2-2
c4d266
- Rebuild for boost 1.55.0
c4d266
c4d266
* Fri Apr 11 2014 Heinz Mauelshagen <heinzm@redhat.com> - 0.3.2-1
c4d266
- New upstream version 0.3.2 fixing needs_check flag processing
c4d266
c4d266
* Thu Mar 27 2014 Heinz Mauelshagen <heinzm@redhat.com> - 0.3.0-1
c4d266
- New upstream version 0.3.0 introducing era_{check,dump,invalidate}
c4d266
c4d266
* Fri Oct 18 2013 Heinz Mauelshagen <heinzm@redhat.com> - 0.2.8-1
c4d266
- New upstream version 0.2.8 introducing cache_{check,dump,repair,restore}
c4d266
c4d266
* Tue Sep 17 2013 Heinz Mauelshagen <heinzm@redhat.com> - 0.2.7-1
c4d266
- New upstream version 0.2.7
c4d266
c4d266
* Wed Jul 31 2013 Heinz Mauelshagen <heinzm@redhat.com> - 0.2.3-1
c4d266
- New upstream version
c4d266
c4d266
* Tue Jul 30 2013 Dennis Gilmore <dennis@ausil.us> - 0.2.2-2
c4d266
- rebuild against boost 1.54.0
c4d266
c4d266
* Tue Jul 30 2013 Heinz Mauelshagen <heinzm@redhat.com> - 0.2.2-1
c4d266
- New upstream version
c4d266
- manual header fixes 
c4d266
c4d266
* Tue Jul 30 2013 Petr Machata <pmachata@redhat.com> - 0.2.1-6
c4d266
- Rebuild for boost 1.54.0
c4d266
c4d266
* Thu Jul 25 2013 Heinz Mauelshagen <heinzm@redhat.com> - 0.2.1-5
c4d266
- enhance manual pages and fix typos
c4d266
c4d266
* Thu Jul 18 2013 Heinz Mauelshagen <heinzm@redhat.com> - 0.2.1-4
c4d266
- Update thin_metadata_size manual page
c4d266
- thin_dump: support dumping default metadata snapshot
c4d266
c4d266
* Thu Jul 18 2013 Heinz Mauelshagen <heinzm@redhat.com> - 0.2.1-3
c4d266
- New thin_metadata_size tool to estimate amount of metadata space
c4d266
  based on block size, pool size and maximum amount of thin devs and snapshots
c4d266
- support metadata snapshots in thin_dump tool
c4d266
- New man pages for thin_metadata_size, thin_repair and thin_rmap and man page fixes
c4d266
c4d266
* Tue Jul 16 2013 Heinz Mauelshagen <heinzm@redhat.com> - 0.2.1-2
c4d266
- Build with nostrip fix from Ville Skyttä
c4d266
c4d266
* Mon Jul 15 2013 Ville Skyttä <ville.skytta@iki.fi> - 0.2.1-2
c4d266
- Let rpmbuild strip binaries, don't override optflags, build more verbose.
c4d266
c4d266
* Fri Jul 12 2013 Heinz Mauelshagen <heinzm@redhat.com> - 0.2.1-1
c4d266
- New upstream version.
c4d266
c4d266
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.4-3
c4d266
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
c4d266
c4d266
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.4-2
c4d266
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
c4d266
c4d266
* Thu Apr 19 2012 Milan Broz <mbroz@redhat.com> - 0.1.4-1
c4d266
- Fix thin_check man page (add -q option).
c4d266
- Install utilities in /usr/sbin.
c4d266
c4d266
* Tue Mar 13 2012 Milan Broz <mbroz@redhat.com> - 0.1.2-1
c4d266
- New upstream version.
c4d266
c4d266
* Mon Mar 05 2012 Milan Broz <mbroz@redhat.com> - 0.1.1-1
c4d266
- Fix quiet option.
c4d266
c4d266
* Fri Mar 02 2012 Milan Broz <mbroz@redhat.com> - 0.1.0-1
c4d266
- New upstream version.
c4d266
c4d266
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.1-3
c4d266
- Rebuilt for c++ ABI breakage
c4d266
c4d266
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.1-2
c4d266
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
c4d266
c4d266
* Wed Dec 21 2011 Milan Broz <mbroz@redhat.com> - 0.0.1-1
c4d266
- Initial version