On Mon, 10 Jan 2011 19:34:08 +0100 Hoyt Duff <hoytd...@gmail.com> 
wrote:
>  Directory /home/hoyt/rpmbuild/BUILDROOT/rkhunter-1.3.8-
1.i386/usr/local/lib: creating: OK
>(..)
>Processing files: rkhunter-1.3.8-1 error: File not found: 
/home/hoyt/rpmbuild/BUILDROOT/rkhunter-1.3.8-1.i386/usr/lib/rkhunter

Path error. The .spec file "%define _prefix /usr/local" (compare 
with a "./configure --prefix=/usr/local") and in the %files section 
"%{_libdir}/%{name}" should pick up "%_prefix". For some reason it 
doesn't but then again I never built RPM's on Mandriva... You could 
try to work around this ending your %install section with a "find 
$RPM_BUILD_ROOT -not -type d -printf "%%%attr(%%m,root,root) %%p\n" 
| sed -e "s|$RPM_BUILD_ROOT||g" > %{_tmppath}/%{name}_contents.txt" 
line and replacing the complete %files section with "%files -f 
%{_tmppath}/%{name}_contents.txt". See 
http://docs.fedoraproject.org/drafts/rpm-guide-en/ch09s05.html for 
more about this kind of auto-fill. 
Let me know if that works for you.


Best regards,
unSpawn
---


------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_______________________________________________
Rkhunter-users mailing list
Rkhunter-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rkhunter-users

Reply via email to