Fix missing man page and help options

This commit is contained in:
Michal Luscon 2013-05-17 13:52:03 +02:00
parent e089f3f263
commit f8860d7957
2 changed files with 27 additions and 1 deletions

21
rsync-man.patch Normal file
View File

@ -0,0 +1,21 @@
--- rsync-3.0.9/rsync.1 2011-09-23 18:42:26.000000000 +0200
+++ rsync-3.0.9/rsync.1 2012-09-19 10:40:19.698802861 +0200
@@ -438,6 +438,7 @@
\-o, \-\-owner preserve owner (super\-user only)
\-g, \-\-group preserve group
\-\-devices preserve device files (super\-user only)
+ \-\-copy-devices copy device contents as regular file
\-\-specials preserve special files
\-D same as \-\-devices \-\-specials
\-t, \-\-times preserve modification times
--- rsync-3.0.9/options.c 2012-09-18 13:33:27.085255598 +0200
+++ rsync-3.0.9/options.c 2012-09-19 10:50:00.500816340 +0200
@@ -432,6 +432,7 @@
#ifdef ICONV_OPTION
rprintf(F," --iconv=CONVERT_SPEC request charset conversion of filenames\n");
#endif
+ rprintf(F," --checksum-seed=NUM set block/file checksum seed (advanced)\n");
rprintf(F," -4, --ipv4 prefer IPv4\n");
rprintf(F," -6, --ipv6 prefer IPv6\n");
rprintf(F," --version print version number\n");

View File

@ -7,7 +7,7 @@
Summary: A program for synchronizing files over a network
Name: rsync
Version: 3.0.9
Release: 8%{?prerelease}%{?dist}
Release: 9%{?prerelease}%{?dist}
Group: Applications/Internet
URL: http://rsync.samba.org/
@ -25,6 +25,7 @@ Requires(postun): systemd-units
License: GPLv3+
Patch0: rsync-3.0.10-lose-track.patch
Patch1: rsync-man.patch
%description
Rsync uses a reliable algorithm to bring remote and host files into
@ -56,6 +57,7 @@ patch -p1 -i patches/xattrs.diff
patch -p1 -i patches/copy-devices.diff
%patch0 -p1 -b .lose-track
%patch1 -p1 -b .man
%build
rm -fr autom4te.cache
@ -101,6 +103,9 @@ rm -rf $RPM_BUILD_ROOT
%systemd_postun_with_restart rsyncd.service
%changelog
* Fri May 17 2013 Michal Luscon <mluscon@redhat.com> - 3.0.9-9
- Fix missing man page and help options
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.9-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild