Requires/Provides in spec file

Greg_Swift at aotx.uscourts.gov Greg_Swift at aotx.uscourts.gov
Thu Feb 18 15:36:31 UTC 2010


> Reading the RPM documentation I can find, It's not clear to me if
> the Provides/Requires entries in the spec file behave the same as
> the ones generated by the find-provides and find-requires macros.
>
> Can someone clarify this for me? Particularly, I'm curious if these
> are legal entries in the spec file:
>
> Provides: foo.bar(fee) 1.2
> Requires: fee.fi(fo) >= 2.3

I'd say that the first one isn't, I think you have to have some kind of
operator (=, >=, etc).  But the basic concept is correct, and in my
experience legal entries.

-greg



More information about the Rpm-list mailing list