rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rdiff-backup-users] spec file doesn't build on SuSE due to differin


From: Ben Escoto
Subject: Re: [rdiff-backup-users] spec file doesn't build on SuSE due to differing doc directories
Date: Tue, 16 Aug 2005 23:44:42 -0500

>>>>> Charles Duffy <address@hidden>
>>>>> 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

Attachment: pgp4a_S4DcNC7.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]