[ovs-discuss] Building RPMs on Ubuntu

Ben Pfaff blp at nicira.com
Fri Nov 18 23:12:16 UTC 2011


On Fri, Nov 18, 2011 at 02:39:35PM -0800, Ansis Atteka wrote:
> I noticed that RPM build fails if ./configure decides that ovsdbmonitor
> should be built:
[...]
> This might get annoying if one wants to build both RPM and DEB packages on
> the same Machine. What would be the preferred way to fix this?
> 
>    1. Modify RPM spec file so that ovsdbmonitor related files are removed
>    right before RPM packaging?
>    2. Modify RPM spec file so that those ovsdbmonitor files are included in
>    RPM packaging (will there be any added value to distribute this tool also
>    with RPMs)?
>    3. Add flag to ./configure that allows to build ovsdbmonitor
>    conditionally (this changes default build behavior)?
> 
> 
> I would prefer to go with #1.

I'm OK with #1.  I think that #2 would be ideal but no one has asked
for it yet.

Thanks for finding the problem, I didn't ever think about this.



More information about the discuss mailing list