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.

 %changelog
-* Mon Sept 11 2000 John H Terpstra <[EMAIL PROTECTED]>
+* Mon Sep 11 2000 John H Terpstra <[EMAIL PROTECTED]>
   Changed target paths to be Linux Standards Base compliant

 * Mon Jan 25 1999 Stefan Hornburg <[EMAIL PROTECTED]>
@@ -77,8 +77,8 @@

 %files
 %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!

Regards,
Bill Immerman
[EMAIL PROTECTED]

--
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to