1 | # |
---|
2 | # Copyright (C) 2011-2017 Red Hat, Inc |
---|
3 | # |
---|
4 | |
---|
5 | Summary: Device-mapper Persistent Data Tools |
---|
6 | Name: device-mapper-persistent-data |
---|
7 | Version: 0.7.6 |
---|
8 | Release: 3%{?_dist_release} |
---|
9 | License: GPLv3+ |
---|
10 | Group: System Environment/Base |
---|
11 | URL: https://github.com/jthornber/thin-provisioning-tools |
---|
12 | |
---|
13 | Vendor: Project Vine |
---|
14 | Distribution: Vine Linux |
---|
15 | |
---|
16 | #Source0: https://github.com/jthornber/thin-provisioning-tools/archive/thin-provisioning-tools-% {version}.tar.gz |
---|
17 | Source0: https://github.com/jthornber/thin-provisioning-tools/archive/v%{version}.tar.gz |
---|
18 | Patch0: device-mapper-persistent-data-avoid-strip.patch |
---|
19 | |
---|
20 | BuildRequires: autoconf, expat-devel, libaio-devel, libstdc++-devel, libboost-devel, gcc-c++ |
---|
21 | Requires: expat |
---|
22 | |
---|
23 | %description |
---|
24 | thin-provisioning-tools contains check,dump,restore,repair,rmap |
---|
25 | and metadata_size tools to manage device-mapper thin provisioning |
---|
26 | target metadata devices; cache check,dump,metadata_size,restore |
---|
27 | and repair tools to manage device-mapper cache metadata devices |
---|
28 | are included and era check, dump, restore and invalidate to manage |
---|
29 | snapshot eras |
---|
30 | |
---|
31 | %prep |
---|
32 | %setup -q -n thin-provisioning-tools-%{version} |
---|
33 | %patch0 -p1 -b .avoid_strip |
---|
34 | echo %{version}-%{release} > VERSION |
---|
35 | |
---|
36 | %build |
---|
37 | autoconf |
---|
38 | %configure --with-optimisation= |
---|
39 | make %{?_smp_mflags} V= |
---|
40 | |
---|
41 | %install |
---|
42 | make DESTDIR=%{buildroot} MANDIR=%{_mandir} install |
---|
43 | |
---|
44 | %clean |
---|
45 | |
---|
46 | %files |
---|
47 | %doc COPYING README.md |
---|
48 | %{_mandir}/man8/cache_check.8.gz |
---|
49 | %{_mandir}/man8/cache_dump.8.gz |
---|
50 | %{_mandir}/man8/cache_metadata_size.8.gz |
---|
51 | %{_mandir}/man8/cache_repair.8.gz |
---|
52 | %{_mandir}/man8/cache_restore.8.gz |
---|
53 | %{_mandir}/man8/cache_writeback.8.gz |
---|
54 | %{_mandir}/man8/era_check.8.gz |
---|
55 | %{_mandir}/man8/era_dump.8.gz |
---|
56 | %{_mandir}/man8/era_invalidate.8.gz |
---|
57 | %{_mandir}/man8/era_restore.8.gz |
---|
58 | %{_mandir}/man8/thin_check.8.gz |
---|
59 | %{_mandir}/man8/thin_delta.8.gz |
---|
60 | %{_mandir}/man8/thin_dump.8.gz |
---|
61 | %{_mandir}/man8/thin_ls.8.gz |
---|
62 | %{_mandir}/man8/thin_metadata_size.8.gz |
---|
63 | %{_mandir}/man8/thin_repair.8.gz |
---|
64 | %{_mandir}/man8/thin_restore.8.gz |
---|
65 | %{_mandir}/man8/thin_rmap.8.gz |
---|
66 | %{_mandir}/man8/thin_trim.8.gz |
---|
67 | %{_sbindir}/pdata_tools |
---|
68 | %{_sbindir}/cache_check |
---|
69 | %{_sbindir}/cache_dump |
---|
70 | %{_sbindir}/cache_metadata_size |
---|
71 | %{_sbindir}/cache_repair |
---|
72 | %{_sbindir}/cache_restore |
---|
73 | %{_sbindir}/cache_writeback |
---|
74 | %{_sbindir}/era_check |
---|
75 | %{_sbindir}/era_dump |
---|
76 | %{_sbindir}/era_invalidate |
---|
77 | %{_sbindir}/era_restore |
---|
78 | %{_sbindir}/thin_check |
---|
79 | %{_sbindir}/thin_delta |
---|
80 | %{_sbindir}/thin_dump |
---|
81 | %{_sbindir}/thin_ls |
---|
82 | %{_sbindir}/thin_metadata_size |
---|
83 | %{_sbindir}/thin_repair |
---|
84 | %{_sbindir}/thin_restore |
---|
85 | %{_sbindir}/thin_rmap |
---|
86 | %{_sbindir}/thin_trim |
---|
87 | #% {_sbindir}/thin_show_duplicates |
---|
88 | |
---|
89 | %changelog |
---|
90 | * Tue Dec 18 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.7.6-3 |
---|
91 | - initial build for Vine Linux. |
---|
92 | |
---|
93 | * Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.6-2 |
---|
94 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild |
---|
95 | |
---|
96 | * Tue Apr 24 2018 Marian Csontos <mcsontos@redhat.com> - 0.7.6-1 |
---|
97 | - Update to latest upstream version |
---|
98 | |
---|
99 | * Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.5-3 |
---|
100 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild |
---|
101 | |
---|
102 | * Tue Jan 23 2018 Jonathan Wakely <jwakely@redhat.com> - 0.7.5-2 |
---|
103 | - Rebuilt for Boost 1.66 |
---|
104 | |
---|
105 | * Tue Nov 14 2017 Marian Csontos <mcsontos@redhat.com> - 0.7.5-1 |
---|
106 | - Fix version 2 metadata corruption in cache_restore. |
---|
107 | |
---|
108 | * Fri Oct 06 2017 Marian Csontos <mcsontos@redhat.com> - 0.7.3-1 |
---|
109 | - Update to latest bugfix and documentation update release. |
---|
110 | - *_restore tools wipe superblock as a last resort. |
---|
111 | - Add thin_check --override-mapping-root. |
---|
112 | |
---|
113 | * Fri Sep 22 2017 Marian Csontos <mcsontos@redhat.com> - 0.7.2-1 |
---|
114 | - Update to latest upstream release including various bug fixes and new features. |
---|
115 | - Fix segfault when dump tools are given a tiny metadata file. |
---|
116 | - Fix -V exiting with 1. |
---|
117 | - Fix thin_check when running on XML dump instead of binary data. |
---|
118 | - Speed up free block searching. |
---|
119 | |
---|
120 | * Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-0.6.rc6 |
---|
121 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild |
---|
122 | |
---|
123 | * Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-0.5.rc6 |
---|
124 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild |
---|
125 | |
---|
126 | * Mon Jul 03 2017 Jonathan Wakely <jwakely@redhat.com> - 0.7.0-0.4.rc6 |
---|
127 | - Rebuilt for Boost 1.64 |
---|
128 | |
---|
129 | * Tue May 23 2017 Marian Csontos <mcsontos@redhat.com> - 0.7.0-0.3.rc6 |
---|
130 | - Rebuilt for mass rebuild incorrectly tagging master to .fc26 |
---|
131 | |
---|
132 | * Mon May 15 2017 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.0-0.2.rc6 |
---|
133 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild |
---|
134 | |
---|
135 | * Mon Mar 27 2017 Peter Rajnoha <prajnoha@redhat.com> - 0.7.0-0.1-rc6 |
---|
136 | - Don't open devices as writeable if --clear-needs-check-flag is not set. |
---|
137 | - Fix cache metadata format version 2 superblock packing. |
---|
138 | |
---|
139 | * Wed Mar 22 2017 Peter Rajnoha <prajnoha@redhat.com> - 0.7.0-0.1-rc5 |
---|
140 | - Switch to a faster implementation of crc32 used for checksums. |
---|
141 | |
---|
142 | * Tue Mar 21 2017 Peter Rajnoha <prajnoha@redhat.com> - 0.7.0-0.1-rc4 |
---|
143 | - Add support for cache metadata format version 2 in cache tools. |
---|
144 | |
---|
145 | * Thu Mar 16 2017 Peter Rajnoha <prajnoha@redhat.com> - 0.7.0-0.1-rc3 |
---|
146 | - Fix compilation warnings and further code cleanup. |
---|
147 | |
---|
148 | * Thu Mar 09 2017 Peter Rajnoha <prajnoha@redhat.com> - 0.7.0-0.1-rc2 |
---|
149 | - Update to latest upstream release including various bug fixes and new features. |
---|
150 | - New thin_show_duplicates command. |
---|
151 | - Add '--skip-mappings' and '--format custom' options to thin_dump. |
---|
152 | |
---|
153 | * Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-3 |
---|
154 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild |
---|
155 | |
---|
156 | * Fri Jan 27 2017 Jonathan Wakely <jwakely@redhat.com> - 0.6.3-2 |
---|
157 | - Rebuilt for Boost 1.63 |
---|
158 | |
---|
159 | * Thu Sep 22 2016 Peter Rajnoha <prajnoha@redhat.com> - 0.6.3-1 |
---|
160 | - Preallocate output file for thin_repair and thin_restore. |
---|
161 | |
---|
162 | * Mon Jul 11 2016 Peter Rajnoha <prajnoha@redhat.com> - 0.6.2-1 |
---|
163 | - Fixes providing proper use of compiler flags. |
---|
164 | |
---|
165 | * Mon Apr 11 2016 Peter Rajnoha <prajnoha@redhat.com> - 0.6.2-0.1.rc8 |
---|
166 | - Fixes for thin_trim. |
---|
167 | |
---|
168 | * Tue Mar 22 2016 Peter Rajnoha <prajnoha@redhat.com> - 0.6.2-0.1.rc7 |
---|
169 | - Fixes for thin_repair. |
---|
170 | |
---|
171 | * Wed Mar 09 2016 Peter Rajnoha <prajnoha@redhat.com> - 0.6.2-0.1.rc6 |
---|
172 | - Add new fields to thin_ls: MAPPED_BYTES, EXCLUSIVE_BYTES and SHARED_BYTES. |
---|
173 | |
---|
174 | * Thu Feb 18 2016 Peter Rajnoha <prajnoha@redhat.com> - 0.6.2-0.1.rc5 |
---|
175 | - Fixes for thin_delta. |
---|
176 | |
---|
177 | * Mon Feb 15 2016 Peter Rajnoha <prajnoha@redhat.com> - 0.6.2-0.1.rc4 |
---|
178 | - Fix bug in mapping comparison while using thin_delta. |
---|
179 | |
---|
180 | * Mon Feb 15 2016 Peter Rajnoha <prajnoha@redhat.com> - 0.6.2-0.1.rc3 |
---|
181 | - Fix recent regression in thin_repair. |
---|
182 | - Force g++-98 dialect. |
---|
183 | |
---|
184 | * Mon Feb 15 2016 Peter Rajnoha <prajnoha@redhat.com> - 0.6.2-0.1.rc1 |
---|
185 | - Fix bug in thin_dump when using metadata snaps. |
---|
186 | |
---|
187 | * Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-2 |
---|
188 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild |
---|
189 | |
---|
190 | * Wed Jan 20 2016 Peter Rajnoha <prajnoha@redhat.com> - 0.6.0-1 |
---|
191 | - New thin_ls command. |
---|
192 | |
---|
193 | * Wed Jan 20 2016 Peter Rajnoha <prajnoha@redhat.com> - 0.5.6-1 |
---|
194 | - era_invalidate may be run on live metadata if the --metadata-snap |
---|
195 | option is given. |
---|
196 | |
---|
197 | * Fri Jan 15 2016 Jonathan Wakely <jwakely@redhat.com> - 0.5.5-3 |
---|
198 | - Rebuilt for Boost 1.60 |
---|
199 | |
---|
200 | * Thu Aug 27 2015 Jonathan Wakely <jwakely@redhat.com> - 0.5.5-2 |
---|
201 | - Rebuilt for Boost 1.59 |
---|
202 | |
---|
203 | * Thu Aug 13 2015 Peter Rajnoha <prajnoha@redhat.com> - 0.5.5-1 |
---|
204 | - Support thin_delta's --metadata_snap option without specifying snap location. |
---|
205 | - Update man pages to make it clearer that tools shoulnd't be run on live metadata. |
---|
206 | - Fix bugs in the metadata reference counting for thin_check. |
---|
207 | |
---|
208 | * Wed Jul 29 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.4-3 |
---|
209 | - Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159 |
---|
210 | |
---|
211 | * Wed Jul 22 2015 David Tardon <dtardon@redhat.com> - 0.5.4-2 |
---|
212 | - rebuild for Boost 1.58 |
---|
213 | |
---|
214 | * Fri Jul 17 2015 Peter Rajnoha <prajnoha@redhat.com> - 0.5.4-1 |
---|
215 | - Fix cache_check with --clear-needs-check-flag option to |
---|
216 | make sure metadata device is not open already by the tool |
---|
217 | when open with O_EXCL mode is requested. |
---|
218 | |
---|
219 | * Fri Jul 03 2015 Peter Rajnoha <prajnoha@redhat.com> - 0.5.3-1 |
---|
220 | - Tools now open the metadata device in O_EXCL mode to stop |
---|
221 | running the tools on active metadata. |
---|
222 | |
---|
223 | * Fri Jul 03 2015 Peter Rajnoha <prajnoha@redhat.com> - 0.5.2-1 |
---|
224 | - Fix bug in damage reporting in thin_dump and thin_check. |
---|
225 | |
---|
226 | * Thu Jun 25 2015 Peter Rajnoha <prajnoha@redhat.com> - 0.5.1-1 |
---|
227 | - Fix crash if tools are given a very large metadata device to restore to. |
---|
228 | |
---|
229 | * Mon Jun 22 2015 Peter Rajnoha <prajnoha@redhat.com> - 0.5.0-1 |
---|
230 | - Add space map checking for thin_check. |
---|
231 | - Add --clear-needs-check option for cache_check. |
---|
232 | - Update to latest upstream release. |
---|
233 | |
---|
234 | * Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.2-2 |
---|
235 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild |
---|
236 | |
---|
237 | * Mon Jun 08 2015 Peter Rajnoha <prajnoha@redhat.com> - 0.4.2-1 |
---|
238 | - New thin_delta and thin_trim commands. |
---|
239 | - Update to latest upstream release. |
---|
240 | |
---|
241 | * Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 0.4.1-4 |
---|
242 | - Rebuilt for GCC 5 C++11 ABI change |
---|
243 | |
---|
244 | * Mon Jan 26 2015 Petr Machata <pmachata@redhat.com> - 0.4.1-3 |
---|
245 | - Rebuild for boost 1.57.0 |
---|
246 | |
---|
247 | * Wed Oct 29 2014 Heinz Mauelshagen <heinzm@redhat.com> - 0.4.1-2 |
---|
248 | - Resolves: bz#1159466 |
---|
249 | |
---|
250 | * Wed Oct 29 2014 Heinz Mauelshagen <heinzm@redhat.com> - 0.4.1-1 |
---|
251 | - New upstream version |
---|
252 | - Manual header additions/fixes |
---|
253 | |
---|
254 | * Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.2-4 |
---|
255 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild |
---|
256 | |
---|
257 | * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.2-3 |
---|
258 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild |
---|
259 | |
---|
260 | * Thu May 22 2014 Petr Machata <pmachata@redhat.com> - 0.3.2-2 |
---|
261 | - Rebuild for boost 1.55.0 |
---|
262 | |
---|
263 | * Fri Apr 11 2014 Heinz Mauelshagen <heinzm@redhat.com> - 0.3.2-1 |
---|
264 | - New upstream version 0.3.2 fixing needs_check flag processing |
---|
265 | |
---|
266 | * Thu Mar 27 2014 Heinz Mauelshagen <heinzm@redhat.com> - 0.3.0-1 |
---|
267 | - New upstream version 0.3.0 introducing era_{check,dump,invalidate} |
---|
268 | |
---|
269 | * Fri Oct 18 2013 Heinz Mauelshagen <heinzm@redhat.com> - 0.2.8-1 |
---|
270 | - New upstream version 0.2.8 introducing cache_{check,dump,repair,restore} |
---|
271 | |
---|
272 | * Tue Sep 17 2013 Heinz Mauelshagen <heinzm@redhat.com> - 0.2.7-1 |
---|
273 | - New upstream version 0.2.7 |
---|
274 | |
---|
275 | * Wed Jul 31 2013 Heinz Mauelshagen <heinzm@redhat.com> - 0.2.3-1 |
---|
276 | - New upstream version |
---|
277 | |
---|
278 | * Tue Jul 30 2013 Dennis Gilmore <dennis@ausil.us> - 0.2.2-2 |
---|
279 | - rebuild against boost 1.54.0 |
---|
280 | |
---|
281 | * Tue Jul 30 2013 Heinz Mauelshagen <heinzm@redhat.com> - 0.2.2-1 |
---|
282 | - New upstream version |
---|
283 | - manual header fixes |
---|
284 | |
---|
285 | * Tue Jul 30 2013 Petr Machata <pmachata@redhat.com> - 0.2.1-6 |
---|
286 | - Rebuild for boost 1.54.0 |
---|
287 | |
---|
288 | * Thu Jul 25 2013 Heinz Mauelshagen <heinzm@redhat.com> - 0.2.1-5 |
---|
289 | - enhance manual pages and fix typos |
---|
290 | |
---|
291 | * Thu Jul 18 2013 Heinz Mauelshagen <heinzm@redhat.com> - 0.2.1-4 |
---|
292 | - Update thin_metadata_size manual page |
---|
293 | - thin_dump: support dumping default metadata snapshot |
---|
294 | |
---|
295 | * Thu Jul 18 2013 Heinz Mauelshagen <heinzm@redhat.com> - 0.2.1-3 |
---|
296 | - New thin_metadata_size tool to estimate amount of metadata space |
---|
297 | based on block size, pool size and maximum amount of thin devs and snapshots |
---|
298 | - support metadata snapshots in thin_dump tool |
---|
299 | - New man pages for thin_metadata_size, thin_repair and thin_rmap and man page fixes |
---|
300 | |
---|
301 | * Tue Jul 16 2013 Heinz Mauelshagen <heinzm@redhat.com> - 0.2.1-2 |
---|
302 | - Build with nostrip fix from Ville Skyttä |
---|
303 | |
---|
304 | * Mon Jul 15 2013 Ville Skyttä <ville.skytta@iki.fi> - 0.2.1-2 |
---|
305 | - Let rpmbuild strip binaries, don't override optflags, build more verbose. |
---|
306 | |
---|
307 | * Fri Jul 12 2013 Heinz Mauelshagen <heinzm@redhat.com> - 0.2.1-1 |
---|
308 | - New upstream version. |
---|
309 | |
---|
310 | * Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.4-3 |
---|
311 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild |
---|
312 | |
---|
313 | * Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.4-2 |
---|
314 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
---|
315 | |
---|
316 | * Thu Apr 19 2012 Milan Broz <mbroz@redhat.com> - 0.1.4-1 |
---|
317 | - Fix thin_check man page (add -q option). |
---|
318 | - Install utilities in /usr/sbin. |
---|
319 | |
---|
320 | * Tue Mar 13 2012 Milan Broz <mbroz@redhat.com> - 0.1.2-1 |
---|
321 | - New upstream version. |
---|
322 | |
---|
323 | * Mon Mar 05 2012 Milan Broz <mbroz@redhat.com> - 0.1.1-1 |
---|
324 | - Fix quiet option. |
---|
325 | |
---|
326 | * Fri Mar 02 2012 Milan Broz <mbroz@redhat.com> - 0.1.0-1 |
---|
327 | - New upstream version. |
---|
328 | |
---|
329 | * Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.1-3 |
---|
330 | - Rebuilt for c++ ABI breakage |
---|
331 | |
---|
332 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.1-2 |
---|
333 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
334 | |
---|
335 | * Wed Dec 21 2011 Milan Broz <mbroz@redhat.com> - 0.0.1-1 |
---|
336 | - Initial version |
---|