Re: Naive question: boolean dependency
devzero2000 <[email protected]> Tue, 5 Feb 2008 11:10:49 +0100
| Newsgroups | gmane.linux.redhat.rpm.general |
|---|---|
| Message-ID | <[email protected]> |
On Feb 5, 2008 8:00 AM, Tony Earnshaw <[email protected]> wrote: > This cost me about 3 minutes of imaginative Googling: http://docs.fedoraproject.org/drafts/rpm-guide-en/ I have bought the book a few years ago: i talk about RPM 4.1. The online version lacks some chapter also. MAXIMUN RPM is all about RPM 3.0.x - used in redhat 6.2 if i remember correctly and yes, also on AIX 5.3 Today we have at least 4.4.3.x.y.z(www.rpm.org), Mandriva also 4.4.6. Some evolution and new features have occurred from 4.1 >The above hasn't anything to do with Boolean switches but is given with the Requires: and/or BuildRequires: definitions. Probably I spoke badly, but I wanted to ask the question as raised by this comparison chart http://kitenet.net/~joey/pkg-comp/#foot11<http://kitenet.net/%7Ejoey/pkg-comp/#foot11> > Yes. grep -ir for examples in /usr/lib/rpm. I haven't found any, but probably i haven't looked well. I have On Feb 5, 2008 8:00 AM, Tony Earnshaw <[email protected]> wrote: > 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 > > _______________________________________________ > Rpm-list mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/rpm-list > _______________________________________________ Rpm-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/rpm-list