Make gcc-gfortran own %{_fmoddir} (#1113564)

This commit is contained in:
Orion Poplawski 2016-01-05 19:02:17 -07:00
parent a04a33c99f
commit 42a3075cdf

View File

@ -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
* Tue Jan 5 2016 Orion Poplawski <orion@cora.nwra.com> 5.3.1-3
- Make gcc-gfortran own %%{_fmoddir} (#1113564)
* Tue Dec 8 2015 Jakub Jelinek <jakub@redhat.com> 5.3.1-2
- work around doxygen 1.8.10 bugs (#1279639)