[Fedora-packaging] fortran .mod files

Patrice Dumas pertusus at free.fr
Mon Oct 22 20:49:12 UTC 2007


On Mon, Oct 22, 2007 at 09:16:22AM -0700, Toshio Kuratomi wrote:
> We have precedent (on a smaller scale) for this from the C world as well 
> with things like %{_libdir}/glib-2.0/include/glibconfig.h.
>
> After reading that these mod files are potentially compiler dependent as 
> well, using %{_libdir}/f90 and %{_libdir}/gfortran makes a lot of sense to 
> me.

f90 is not a compiler. Or it is a compiler like cc of f77 are. Since the
files are compiler specific, it may make sense to use the compiler name.
So the fortran modules dir could be %{_libdir}/gfortran, or
%{_libdir}/gfortran/modules (and similar in other directories).

--
Pat




More information about the Fedora-packaging mailing list