[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Naive question: boolean dependency



devzero2000 skrev, on 04-02-2008 11:40:

I have not found recent documentation, so this post.

This cost me about 3 minutes of imaginative Googling:
http://docs.fedoraproject.org/drafts/rpm-guide-en/

I have both this and Maximum on my hard disk and indexed for searching on single words with swish-e.

It is  possible to express boolean dependencies in RPM?

Yes. grep -ir for examples in /usr/lib/rpm.

For example i would like to say that a package depends on if another package is not installaed. Or if could express OR dependency, eventually based also on version number : e.g. as in 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.

Best,

--Tonni

--
Tony Earnshaw
Email: tonni at hetnet dot nl


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]