On Mon, Nov 28, 2011 at 12:42:07PM -0800, Ben Pfaff wrote:
> > %define _unpackaged_files_terminate_build 0
> Do you happen to know whether this is commonly done in practice?  It
> would make maintenance easier, if we could use it, but I want to use
> "best practices" for RPM packaging, to the extent that I can figure
> out what that is.
Definitely, having unpackaged files generate an error is good for
automated builds - if something goes wrong you'll have to
investigate it.  But this could be annoying during development
process or while building custom RPMs.  However, disabling this
error will still generate warning, you'll see list of unpackaged
files.

So, instead of adding %define to spec, I'd recommend running
"rpmbuild -D '_unpackaged_files_terminate_build 0' openvswitch.spec"
when needed.

-- 
Regards,    --
Sir Raorn.   --- http://thousandsofhate.blogspot.com/

Attachment: signature.asc
Description: Digital signature

_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to