manpage update: rsyncable description

This commit is contained in:
Petr Stodulka 2014-06-06 14:23:28 +02:00
parent 30450d3a6c
commit 8916e442bc
2 changed files with 25 additions and 1 deletions

View File

@ -0,0 +1,19 @@
gzip.1 | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/gzip.1 b/gzip.1
index 3cb8c6f..502b266 100644
--- a/gzip.1
+++ b/gzip.1
@@ -327,6 +327,11 @@ indicates the slowest compression method (best compression).
The default compression level is
.BR \-6
(that is, biased towards high compression at expense of speed).
+.TP
+.B \-\-rsyncable
+When you synchronize a compressed file between two computers, this option allows rsync to transfer only files that were changed in the archive instead of the entire archive.
+Normally, after a change is made to any file in the archive, the compression algorithm can generate a new version of the archive that does not match the previous version of the archive. In this case, rsync transfers the entire new version of the archive to the remote computer.
+With this option, rsync can transfer only the changed files as well as a small amount of metadata that is required to update the archive structure in the area that was changed.
.SH "ADVANCED USAGE"
Multiple compressed files can be concatenated. In this case,
.I gunzip

View File

@ -1,7 +1,7 @@
Summary: The GNU data compression program
Name: gzip
Version: 1.6
Release: 2%{?dist}
Release: 3%{?dist}
# info pages are under GFDL license
License: GPLv3+ and GFDL
Group: Applications/File
@ -12,6 +12,7 @@ Patch4: gzip-1.3.13-rsync.patch
Patch5: gzip-1.3.5-cve-2006-4338.patch
Patch6: gzip-1.3.13-cve-2006-4337.patch
Patch7: gzip-1.3.5-cve-2006-4337_len.patch
Patch8: gzip-1.5-man-rsyncable.patch
# Fixed in upstream code.
# http://thread.gmane.org/gmane.comp.gnu.gzip.bugs/378
URL: http://www.gzip.org/
@ -44,6 +45,7 @@ very commonly used data compression program.
%patch5 -p1 -b .4338
%patch6 -p1 -b .4337
%patch7 -p1 -b .4337l
%patch8 -p1 -b .man-rsyncable
%build
export DEFS="NO_ASM"
@ -84,6 +86,9 @@ fi
%{_infodir}/gzip.info*
%changelog
* Fri Jun 06 2014 Petr Stodulka <pstodulk@redhat.com> - 1.6-3
- Added description of rsyncable into the manpage (#988713)
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild