Recognizing directory name changes

Matt McCutchen hashproduct+rsync at gmail.com
Thu Oct 11 19:32:48 GMT 2007


On 10/11/07, Frank Thomas <fthomas at radiology.ca> wrote:
> Thanks Matt for your reply. What my problem is, I didn't install rsync
> from source, but through a rpm package. I wonder if it is possible to
> apply the patch and re-create the rpm, to minimize the work involved.

Yes.  Obtain the rsync source RPM from your distribution, add "patch
-p1 <patches/detect-renamed.diff" to the end of the %prep section in
the spec file, and rebuild the RPM.  There's general information about
how to rebuild RPMs at:

http://bradthemad.org/tech/notes/patching_rpms.php

Matt


More information about the rsync mailing list