diff --git a/gzip-1.5-man-rsyncable.patch b/gzip-1.5-man-rsyncable.patch new file mode 100644 index 0000000..ddc4a32 --- /dev/null +++ b/gzip-1.5-man-rsyncable.patch @@ -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 diff --git a/gzip.spec b/gzip.spec index 4df5153..133ff86 100644 --- a/gzip.spec +++ b/gzip.spec @@ -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 - 1.6-3 +- Added description of rsyncable into the manpage (#988713) + * Sat Aug 03 2013 Fedora Release Engineering - 1.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild