Description of problem: The fortran packaging guidelines [1] state For directory ownership any packages containing Fortran modules MUST Requires: gcc-gfortran%{_isa}. However, gcc-gfortran does not provide %{_fmoddir} aka %{_libdir}/gfortran/modules. [1] http://fedoraproject.org/wiki/Packaging:Fortran Version-Release number of selected component (if applicable): gcc-gfortran-4.9.0-12.fc21
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle. Changing version to '22'. More information and reason for this action is here: https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22
Issue still applies.
See bug 513985 from 2009-07-27 and bug 983057. After such a long time, it may be necessary to contact someone from FPC about it.
I'm going to commit this unless I hear otherwise from a gcc maintainer: index 1be34c0..92e1acb 100644 --- a/gcc.spec +++ b/gcc.spec @@ -3,7 +3,7 @@ %global gcc_version 5.3.1 # Note, gcc_release must be integer, if you want to add suffixes to # %{release}, append them after %{gcc_release} on Release: line. -%global gcc_release 2 +%global gcc_release 3 %global _unpackaged_files_terminate_build 0 %global _performance_build 1 # Hardening slows the compiler way too much. @@ -1171,6 +1171,9 @@ rm -f %{buildroot}%{_infodir}/dir gzip -9 %{buildroot}%{_infodir}/*.info* ln -sf gcc %{buildroot}%{_prefix}/bin/gnatgcc +# Own %%{_fmoddir} +mkdir -p %{buildroot}%{_fmoddir} + %if %{build_go} mv %{buildroot}%{_prefix}/bin/go{,.gcc} mv %{buildroot}%{_prefix}/bin/gofmt{,.gcc} @@ -2619,6 +2622,7 @@ fi %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libgfortran.so %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/finclude %endif +%dir %{_fmoddir} %doc rpm.doc/gfortran/* %files -n libgfortran @@ -3097,6 +3101,9 @@ fi %doc rpm.doc/changelogs/libcc1/ChangeLog* %changelog +* Mon Dec 28 2015 Orion Poplawski <orion.com> 5.3.1-3 +- Make gcc-gfortran own %%{_fmoddir} (#1113564) + * Tue Dec 8 2015 Jakub Jelinek <jakub> 5.3.1-2 - work around doxygen 1.8.10 bugs (#1279639)