fix license handling
This commit is contained in:
parent
17446a0ad9
commit
a365d3e4eb
31
gcc.spec
31
gcc.spec
@ -3,7 +3,7 @@
|
|||||||
%global gcc_version 4.9.0
|
%global gcc_version 4.9.0
|
||||||
# Note, gcc_release must be integer, if you want to add suffixes to
|
# Note, gcc_release must be integer, if you want to add suffixes to
|
||||||
# %{release}, append them after %{gcc_release} on Release: line.
|
# %{release}, append them after %{gcc_release} on Release: line.
|
||||||
%global gcc_release 14
|
%global gcc_release 15
|
||||||
%global _unpackaged_files_terminate_build 0
|
%global _unpackaged_files_terminate_build 0
|
||||||
%global _performance_build 1
|
%global _performance_build 1
|
||||||
%global multilib_64_archs sparc64 ppc64 ppc64p7 s390x x86_64
|
%global multilib_64_archs sparc64 ppc64 ppc64p7 s390x x86_64
|
||||||
@ -2193,7 +2193,9 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
%dir %{_prefix}/libexec/getconf
|
%dir %{_prefix}/libexec/getconf
|
||||||
%{_prefix}/libexec/getconf/default
|
%{_prefix}/libexec/getconf/default
|
||||||
%doc gcc/README* rpm.doc/changelogs/gcc/ChangeLog* gcc/COPYING* COPYING.RUNTIME
|
%doc gcc/README* rpm.doc/changelogs/gcc/ChangeLog*
|
||||||
|
%{!?_licensedir:%global license %%doc}
|
||||||
|
%license gcc/COPYING* COPYING.RUNTIME
|
||||||
|
|
||||||
%files -n cpp -f cpplib.lang
|
%files -n cpp -f cpplib.lang
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
@ -2210,7 +2212,8 @@ fi
|
|||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
/%{_lib}/libgcc_s-%{gcc_version}-%{DATE}.so.1
|
/%{_lib}/libgcc_s-%{gcc_version}-%{DATE}.so.1
|
||||||
/%{_lib}/libgcc_s.so.1
|
/%{_lib}/libgcc_s.so.1
|
||||||
%doc gcc/COPYING* COPYING.RUNTIME
|
%{!?_licensedir:%global license %%doc}
|
||||||
|
%license gcc/COPYING* COPYING.RUNTIME
|
||||||
|
|
||||||
%files c++
|
%files c++
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
@ -2494,7 +2497,8 @@ fi
|
|||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{_prefix}/%{_lib}/libquadmath.so.0*
|
%{_prefix}/%{_lib}/libquadmath.so.0*
|
||||||
%{_infodir}/libquadmath.info*
|
%{_infodir}/libquadmath.info*
|
||||||
%doc rpm.doc/libquadmath/COPYING*
|
%{!?_licensedir:%global license %%doc}
|
||||||
|
%license rpm.doc/libquadmath/COPYING*
|
||||||
|
|
||||||
%files -n libquadmath-devel
|
%files -n libquadmath-devel
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
@ -2609,7 +2613,9 @@ fi
|
|||||||
%ifnarch sparcv9 sparc64 ppc ppc64 ppc64p7
|
%ifnarch sparcv9 sparc64 ppc ppc64 ppc64p7
|
||||||
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libasan.a
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libasan.a
|
||||||
%endif
|
%endif
|
||||||
%doc rpm.doc/changelogs/libsanitizer/ChangeLog* libsanitizer/LICENSE.TXT
|
%doc rpm.doc/changelogs/libsanitizer/ChangeLog*
|
||||||
|
%{!?_licensedir:%global license %%doc}
|
||||||
|
%license libsanitizer/LICENSE.TXT
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{build_libubsan}
|
%if %{build_libubsan}
|
||||||
@ -2633,7 +2639,9 @@ fi
|
|||||||
%ifnarch sparcv9 sparc64 ppc ppc64 ppc64p7
|
%ifnarch sparcv9 sparc64 ppc ppc64 ppc64p7
|
||||||
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libubsan.a
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libubsan.a
|
||||||
%endif
|
%endif
|
||||||
%doc rpm.doc/changelogs/libsanitizer/ChangeLog* libsanitizer/LICENSE.TXT
|
%doc rpm.doc/changelogs/libsanitizer/ChangeLog*
|
||||||
|
%{!?_licensedir:%global license %%doc}
|
||||||
|
%license libsanitizer/LICENSE.TXT
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{build_libtsan}
|
%if %{build_libtsan}
|
||||||
@ -2647,7 +2655,9 @@ fi
|
|||||||
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}
|
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}
|
||||||
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}
|
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}
|
||||||
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libtsan.a
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libtsan.a
|
||||||
%doc rpm.doc/changelogs/libsanitizer/ChangeLog* libsanitizer/LICENSE.TXT
|
%doc rpm.doc/changelogs/libsanitizer/ChangeLog*
|
||||||
|
%{!?_licensedir:%global license %%doc}
|
||||||
|
%license libsanitizer/LICENSE.TXT
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{build_liblsan}
|
%if %{build_liblsan}
|
||||||
@ -2661,7 +2671,9 @@ fi
|
|||||||
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}
|
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}
|
||||||
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}
|
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}
|
||||||
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/liblsan.a
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/liblsan.a
|
||||||
%doc rpm.doc/changelogs/libsanitizer/ChangeLog* libsanitizer/LICENSE.TXT
|
%doc rpm.doc/changelogs/libsanitizer/ChangeLog*
|
||||||
|
%{!?_licensedir:%global license %%doc}
|
||||||
|
%license libsanitizer/LICENSE.TXT
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{build_libcilkrts}
|
%if %{build_libcilkrts}
|
||||||
@ -2784,6 +2796,9 @@ fi
|
|||||||
%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/plugin
|
%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/plugin
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Jul 12 2014 Tom Callaway <spot@fedoraproject.org> 4.9.0-15
|
||||||
|
- fix license handling
|
||||||
|
|
||||||
* Wed Jul 2 2014 Jakub Jelinek <jakub@redhat.com> 4.9.0-14
|
* Wed Jul 2 2014 Jakub Jelinek <jakub@redhat.com> 4.9.0-14
|
||||||
- update from the 4.9 branch
|
- update from the 4.9 branch
|
||||||
- OpenMP 4.0 Fortran support
|
- OpenMP 4.0 Fortran support
|
||||||
|
Loading…
Reference in New Issue
Block a user