Alexander Skwar <[EMAIL PROTECTED]> writes:
> Guten Morgen!
>
> I'd like to write a spec file for the Perl module ExtUtils::F77. This
> module makes only sense to use with an installed Fortran compiler. So I'd
> like to require either gcc-g77 OR egcs-g77 (or maybe both :-]), but I don't
> want to require BOTH. So this would be not correct:
>
> Requires: gcc-g77, egcs-g77
>
> Okay, I could solve this problem by requiring %{_bindir}/g77, but
> nonetheless, how do I write a Requires: line that is content if one of the
> packages is present?
Basically this is possible when bith gcc-g77 and egcs-g77 provide
something like "a-fortran-compiler" ; but I think they do not, for the
moment.
Why not the solution of %{_bindir}/g77 it seems good no?
Anywayz I'm sure thierry our big gcc-compiler specialist shall lighten
both of us?
--
Guillaume Cottenceau -- Distribution Developer for MandrakeSoft
http://www.mandrakesoft.com/~gc/