patch for rpm spec problem

Bill Immerman bill at
Thu Dec 11 04:11:09 EST 2003

The following is a description of an rpm-based rsync build problem on my
Redhat 7.1 system, and a patch that fixed the spec file. The problem 
occurred on several recent rsync releases, including 2.5.7:

rpm -tb --define '_topdir /home/user/tmp/rpmbuild' rsync-2.5.7.tar.gz
ALMOST works; it uses the spec file in lsb, not redhat/7.1. This spec file 
fails due to bad date format in one line, and not finding man pages since 
they are in gzipped format.

The following patch addresses these problems:

--- rsync.spec.lsb      Tue Dec  9 19:41:24 2003
+++ rsync.spec  Tue Dec  9 19:29:26 2003
@@ -21,7 +21,7 @@
  this package.

-* Mon Sept 11 2000 John H Terpstra <jht at>
+* Mon Sep 11 2000 John H Terpstra <jht at>
    Changed target paths to be Linux Standards Base compliant

  * Mon Jan 25 1999 Stefan Hornburg <racke at>
@@ -77,8 +77,8 @@

  %attr(-,root,root) /usr/bin/rsync
-%attr(-,root,root) /usr/share/man/man1/rsync.1
-%attr(-,root,root) /usr/share/man/man5/rsyncd.conf.5
+%attr(-,root,root) /usr/share/man/man1/rsync.1.gz
+%attr(-,root,root) /usr/share/man/man5/rsyncd.conf.5.gz
  %attr(-,root,root) %doc tech_report.tex
  %attr(-,root,root) %doc README
  %attr(-,root,root) %doc COPYING

I am not a list subscriber, so please address any replies to the address below.

Thanks for the terrific software!

Bill Immerman
bill at

More information about the rsync mailing list