- restore multivol backups correctly
This commit is contained in:
parent
d1b494eff5
commit
1c7584f9fa
11
dump-rh507948.patch
Normal file
11
dump-rh507948.patch
Normal file
@ -0,0 +1,11 @@
|
||||
diff -up dump-0.4b42/restore/tape.c.rh507948 dump-0.4b42/restore/tape.c
|
||||
--- dump-0.4b42/restore/tape.c.rh507948 2009-07-23 14:28:17.998903816 +0200
|
||||
+++ dump-0.4b42/restore/tape.c 2009-07-23 14:29:27.058903991 +0200
|
||||
@@ -474,7 +474,6 @@ getvol(long nextvol)
|
||||
if (nextvol == 1) {
|
||||
tapesread = 0;
|
||||
gettingfile = 0;
|
||||
- tpblksread = 0;
|
||||
blksread = 0;
|
||||
}
|
||||
if (pipein) {
|
||||
@ -7,7 +7,7 @@ Summary: Programs for backing up and restoring ext2/ext3 filesystems
|
||||
Name: dump
|
||||
Epoch: 1
|
||||
Version: 0.4
|
||||
Release: 0.1.%{PREVER}%{?dist}
|
||||
Release: 0.2.%{PREVER}%{?dist}
|
||||
License: BSD
|
||||
Group: Applications/Archiving
|
||||
URL: http://dump.sourceforge.net/
|
||||
@ -23,6 +23,8 @@ Requires: rmt
|
||||
Obsoletes: dump-static
|
||||
Provides: dump-static
|
||||
|
||||
Patch0: dump-rh507948.patch
|
||||
|
||||
%description
|
||||
The dump package contains both dump and restore. Dump examines files
|
||||
in a filesystem, determines which ones need to be backed up, and
|
||||
@ -47,6 +49,8 @@ restoring files from a backup), and tar (an archiving program).
|
||||
%prep
|
||||
%setup -q -n dump-%{VERSION}
|
||||
|
||||
%patch0 -p1 -b .rh507948
|
||||
|
||||
for i in THANKS MAINTAINERS COPYRIGHT CHANGES; do
|
||||
iconv -f iso-8859-1 -t utf-8 $i -o $i.new
|
||||
touch -r $i $i.new
|
||||
@ -118,6 +122,9 @@ rm -rf %{buildroot}
|
||||
%{_mandir}/man8/rmt.8*
|
||||
|
||||
%changelog
|
||||
* Thu Jul 23 2009 Adam Tkac <atkac redhat com> 0.4-0.2.b42
|
||||
- restore multivol backups correctly
|
||||
|
||||
* Mon Jun 22 2009 Adam Tkac <atkac redhat com> 0.4-0.1.b42
|
||||
- update to 0.4b42
|
||||
- patches merged
|
||||
|
||||
Loading…
Reference in New Issue
Block a user