rpmbuild does not fail on missing package

Bill Medland billmedland at mercuryspeed.com
Fri May 13 13:59:20 UTC 2005


On May 13, 2005 03:15 am, Michael Schwendt wrote:
> On Thu, 12 May 2005 18:28:01 -0700, Bill Medland wrote:
> > Did the behaviour of rpmbuild change again?
> >
> > I just built a set of rpms and was surprised that one in
> > particular did build when it shouldn't have since a file was
> > missing from the specfile.
> >
>
> If I want that behaviour, I define
>
> %_unpackaged_files_terminate_build  0
>
> in my ~/.rpmmacros. But else I get build failures. You could
> try to define the opposite (i.e. 1) and see what you get.
>
> --
> Fedora Core release 3.91 (Pre-FC4) - Linux 2.6.11-1.1290_FC4
> loadavg: 0.04 0.07 0.21
Thanks for the response, Michael.  Actually I see what it is now.  
The rpm build root was a symbolic link and so the check doesn't 
see any files there.  (I'm sure there is a good reason why the 
check doesn't use find -follow)

-- 
Bill Medland
mailto:billmedland at mercuryspeed.com
http://webhome.idirect.com/~kbmed




More information about the redhat-list mailing list