On Seg, 2016-11-21 at 05:24 +0100, Kevin Kofler wrote:
"%bcond_with foo" actually means to build WITHOUT foo by
default, and
to add
a "--with foo" switch to build with foo. Likewise, "%bcond_without
foo"
actually means to build WITH foo by default, and to add a "--without
foo"
switch to build without foo. Many packagers find that really
confusing.
"%bcond_with foo" means that you could use --with foo , otherwise
is WITHOUT foo , "%bcond_without foo" means that you have option
--without foo , it was easy to fix, for me. Again but the trick is not
use "without" in conditions, we may use: if ! %{with foo} or {!?with
foo: ...}
--
Sérgio M. B.