[ovs-discuss] Building RPMs on Ubuntu

Alexey I. Froloff raorn at altlinux.org
Tue Nov 29 08:39:40 UTC 2011


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/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20111129/0bc7be68/attachment.sig>


More information about the discuss mailing list