rpmbuild does not fail on missing package

Michael Schwendt fedora at wir-sind-cool.org
Fri May 13 10:15:11 UTC 2005


On Thu, 12 May 2005 18:28:01 -0700, Bill Medland wrote:

> Did the behaviour of rpmbuild change again?
> 
> I remember in the past that rpmbuild (or it may have been back in 
> the days of rpm -b) would file to build the rpms I was trying to 
> build because there were files in the buildroot that were not in 
> the specfile.  This was actually quite useful to me.
> 
> 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.
> 
> Does anyone know if that is a bug or a feature change?
> 
> (Currently running rpm-build 4.2.3-13)

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




More information about the redhat-list mailing list