%bcond_with is backwards?

2011-12-08 Thread Richard W.M. Jones
I've got a specfile (hivex.spec) which has this: # conditionalize Ocaml support %ifarch sparc64 s390 s390x %bcond_with ocaml %else %bcond_without ocaml %endif #... %if %{with ocaml} BuildRequires: ocaml BuildRequires: ocaml-findlib-devel %endif This code correctly disables OCaml support on

Re: %bcond_with is backwards?

2011-12-08 Thread Till Maas
On Thu, Dec 08, 2011 at 06:10:17PM +, Richard W.M. Jones wrote: # conditionalize Ocaml support %ifarch sparc64 s390 s390x %bcond_with ocaml %else %bcond_without ocaml %endif #... %if %{with ocaml} BuildRequires: ocaml BuildRequires: ocaml-findlib-devel %endif This code

Re: %bcond_with is backwards?

2011-12-08 Thread Richard W.M. Jones
On Thu, Dec 08, 2011 at 07:31:58PM +0100, Till Maas wrote: On Thu, Dec 08, 2011 at 06:10:17PM +, Richard W.M. Jones wrote: # conditionalize Ocaml support %ifarch sparc64 s390 s390x %bcond_with ocaml %else %bcond_without ocaml %endif #... %if %{with ocaml}

Re: %bcond_with is backwards?

2011-12-08 Thread Paul Howarth
On Thu, 8 Dec 2011 18:58:29 + Richard W.M. Jones rjo...@redhat.com wrote: On Thu, Dec 08, 2011 at 07:31:58PM +0100, Till Maas wrote: On Thu, Dec 08, 2011 at 06:10:17PM +, Richard W.M. Jones wrote: # conditionalize Ocaml support %ifarch sparc64 s390 s390x %bcond_with ocaml

Re: %bcond_with is backwards?

2011-12-08 Thread Richard W.M. Jones
On Thu, Dec 08, 2011 at 07:01:45PM +, Paul Howarth wrote: On Thu, 8 Dec 2011 18:58:29 + Richard W.M. Jones rjo...@redhat.com wrote: On Thu, Dec 08, 2011 at 07:31:58PM +0100, Till Maas wrote: On Thu, Dec 08, 2011 at 06:10:17PM +, Richard W.M. Jones wrote: #

Re: %bcond_with is backwards?

2011-12-08 Thread Adam Williamson
On Thu, 2011-12-08 at 20:06 +, Richard W.M. Jones wrote: On Thu, Dec 08, 2011 at 07:01:45PM +, Paul Howarth wrote: On Thu, 8 Dec 2011 18:58:29 + Richard W.M. Jones rjo...@redhat.com wrote: On Thu, Dec 08, 2011 at 07:31:58PM +0100, Till Maas wrote: On Thu, Dec 08, 2011 at

Re: %bcond_with is backwards?

2011-12-08 Thread Richard W.M. Jones
On Thu, Dec 08, 2011 at 12:14:05PM -0800, Adam Williamson wrote: On Thu, 2011-12-08 at 20:06 +, Richard W.M. Jones wrote: On Thu, Dec 08, 2011 at 07:01:45PM +, Paul Howarth wrote: On Thu, 8 Dec 2011 18:58:29 + Richard W.M. Jones rjo...@redhat.com wrote: On Thu, Dec 08,