On Thu, Nov 14, 2002 at 04:21:53AM +0100, Oden Eriksson wrote:
> Checking for unpackaged file(s): /usr/lib/rpm/check-files 
> /home/oden/RPM/temp/bind-chroot-8.3.3-root
> error: Installed (but unpackaged) file(s) found:
>    /usr/share/man/man3/getaddrinfo.3.bz2
>    /usr/share/man/man3/gethostbyname.3.bz2
>    /usr/share/man/man3/getipnodebyname.3.bz2
>    /usr/share/man/man3/getnameinfo.3.bz2
>    /usr/share/man/man3/getnetent.3.bz2
>    /usr/share/man/man3/resolver.3.bz2
>    /usr/share/man/man7/mailaddr.7.bz2
> 
> 
> RPM build errors:
>     Installed (but unpackaged) file(s) found:
>    /usr/share/man/man3/getaddrinfo.3.bz2
>    /usr/share/man/man3/gethostbyname.3.bz2
>    /usr/share/man/man3/getipnodebyname.3.bz2
>    /usr/share/man/man3/getnameinfo.3.bz2
>    /usr/share/man/man3/getnetent.3.bz2
>    /usr/share/man/man3/resolver.3.bz2
>    /usr/share/man/man7/mailaddr.7.bz2
> Well..., anyway. Those who need this update badly can get the files here:
> 
> http://d-srv.com/Cooker/RPMS/bind-chroot-8.3.3-3mdk.i586.rpm
> http://d-srv.com/Cooker/RPMS/bind-chroot-utils-8.3.3-3mdk.i586.rpm
> http://d-srv.com/Cooker/RPMS/bind-chroot-devel-8.3.3-3mdk.i586.rpm
> http://d-srv.com/Cooker/SRPMS/bind-chroot-8.3.3-3mdk.src.rpm

Mandrake's rpm now checks for files that are installed in the %install
section but are not included in the %files section.  Rather than just
warning you about this.  rpm just flat out fails to build.  Frankly I
think this is an idiotic change.  But I'm really not in the mood to
start the argument about it.  

You can add:
%define _unpackaged_files_terminate_build 0
to your spec file to disable this check.

-- 
Ben Reser <[EMAIL PROTECTED]>
http://ben.reser.org

"If you're not making any mistakes, you're flat out not trying hard
enough." - Jim Nichols

Reply via email to