>>>>> Charles Duffy <[EMAIL PROTECTED]> >>>>> wrote the following on Tue, 16 Aug 2005 09:24:33 -0500 > The spec file provided in the rdiff-backup tarball has documentation > files covered with %doc entries under the %files section, but also > (apparently) puts them in place [more specifically, > $RPM_BUILD_ROOT/usr/share/doc/rdiff-backup-1.0.0] during the distutils > install phase. The issue with this is that SuSE doesn't *use* > /usr/share/doc/<packagename> for package-specific documentation; rather, > in this case it goes in /usr/share/doc/packages/<packagename>. > > I found the easiest fix to be rm'ing $RPM_BUILD_ROOT/usr/share/doc/* > during the %install phase, and letting RPM put the doc files in place > out of the source tree itself (which, given that they're provided with > relative (well, actually no) paths, Does The Right Thing).
Ok I added rm -rf $RPM_BUILD_ROOT/usr/share/doc/* at the end of the %install section. I don't really understand why this would help, but it didn't seem to hurt. -- Ben Escoto
pgp626f2sAFDk.pgp
Description: PGP signature
_______________________________________________ rdiff-backup-users mailing list at [email protected] http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
