Re: Naive question: boolean dependency

Michael Jennings <[email protected]> Tue, 5 Feb 2008 20:49:12 -0800
Newsgroups gmane.linux.redhat.rpm.general
Message-ID <[email protected]>
On Tuesday, 05 February 2008, at 08:00:42 (+0100),
Tony Earnshaw wrote:

>> It is  possible to express boolean dependencies in RPM?
>
> Yes. grep -ir for examples in /usr/lib/rpm.

Please share some.  I would love to see them.

>> Requires: (pkg <=1.0.3) | (pkg>=1.9.3) 
>
> The above hasn't anything to do with Boolean switches but is given with the 
> Requires: and/or BuildRequires: definitions.

Please illustrate.

Michael

-- 
Michael Jennings (a.k.a. KainX)  http://www.kainx.org/  <[email protected]>
Linux Server/Cluster Admin, LBL.gov       Author, Eterm (www.eterm.org)
-----------------------------------------------------------------------
 "Overflow on /dev/null.  Please empty the bit bucket."     -- fortune