Re: rpmbuild does not fail on missing package

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

 



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

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux