>>>>> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes:

Georg> Jean-Marc Lasgouttes wrote:
>>>>>>> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes:
>>
Georg> I searched a bit and saw in an example that "or" is supported
Georg> (at least in rpm 4.1.1), but Angus' script is better.
>>  Could you send a reference on that?

Georg> I found it in /usr/share/doc/packages/rpm/manual/dependencies
Georg> on my SuSE box. You can find it also here:
Georg> http://www.brics.dk/~engberg/usr_local_doc/rpm-shr-4.0/dependencies
Georg> (search for "perl(IO-Wrap) == 4.5 or perl(IO-Wrap)-4.5") but I
Georg> could not find any formal documentation.

I think you are referring to:

     Requires: perl(Carp), perl(IO-Wrap) = 4.5


   The output of a per-interpreter find-requires (notice in this example the
   first requirement is a package and the rest are langague specific modules)

           Mail-Header >= 1.01
           perl(Carp) >= 3.2
           perl(IO-Wrap) == 4.5 or perl(IO-Wrap)-4.5

I do not think this describes a formal syntax of Requires:, but only
the effect of the Requires: line given in the example.

JMarc

Reply via email to