Sync from SUSE:SLFO:Main gcc revision f7c3529238436bde3d80dbab8a403dcf

This commit is contained in:
Adrian Schröter 2024-08-08 17:24:20 +02:00
parent 945621bd9d
commit 9b763663f6
2 changed files with 46 additions and 2 deletions

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
Wed Aug 7 14:06:50 UTC 2024 - Richard Biener <rguenther@suse.com>
- Make gcc-build-fortran provide and conflict gcc-fortran.
-------------------------------------------------------------------
Thu Aug 1 10:53:40 UTC 2024 - Richard Biener <rguenther@suse.com>
- Add libquadmath-devel package for GCC 14.
- Bump GCC version to 14, leave -build flavor at 13.
-------------------------------------------------------------------
Wed Mar 20 09:48:44 UTC 2024 - Richard Biener <rguenther@suse.com>
- Add conflicts where -build variants provide the non-build variant.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Mar 18 13:47:32 UTC 2024 - Richard Biener <rguenther@suse.com> Mon Mar 18 13:47:32 UTC 2024 - Richard Biener <rguenther@suse.com>

View File

@ -24,8 +24,8 @@
%define gcc_suffix 13 %define gcc_suffix 13
%else %else
%define gccsuffix %{nil} %define gccsuffix %{nil}
%define gcc_version 13 %define gcc_version 14
%define gcc_suffix 13 %define gcc_suffix 14
%endif %endif
Name: gcc%{gccsuffix} Name: gcc%{gccsuffix}
@ -53,7 +53,9 @@ Name: gcc%{gccsuffix}
%else %else
%define build_d 0 %define build_d 0
%endif %endif
%define quadmath_arch %ix86 x86_64 ia64 ppc64le
%define libgccjit_sover 0 %define libgccjit_sover 0
URL: http://gcc.gnu.org/ URL: http://gcc.gnu.org/
Version: %{gcc_version} Version: %{gcc_version}
Release: 0 Release: 0
@ -63,6 +65,7 @@ Group: Development/Languages/C and C++
Provides: c_compiler Provides: c_compiler
%if "%{gccsuffix}" != "" %if "%{gccsuffix}" != ""
Provides: gcc = %{version} Provides: gcc = %{version}
Conflicts: gcc
%endif %endif
Requires: cpp%{gccsuffix} Requires: cpp%{gccsuffix}
Requires: gcc%{gcc_version} Requires: gcc%{gcc_version}
@ -154,7 +157,9 @@ The system GNU Compiler documentation.
# install / update the entries # install / update the entries
%post -n gcc%{gccsuffix}-info %post -n gcc%{gccsuffix}-info
%install_info --info-dir=%{_infodir} --name=cpp --description='The GNU C preprocessor.' %{_infodir}/cpp.info.gz %install_info --info-dir=%{_infodir} --name=cpp --description='The GNU C preprocessor.' %{_infodir}/cpp.info.gz
%install_info --info-dir=%{_infodir} --name=gcc --description='The GNU Compiler Collection.' %{_infodir}/gcc.info.gz %install_info --info-dir=%{_infodir} --name=gcc --description='The GNU Compiler Collection.' %{_infodir}/gcc.info.gz
@ -177,6 +182,7 @@ Group: Development/Languages/C and C++
Provides: c++_compiler Provides: c++_compiler
%if "%{gccsuffix}" != "" %if "%{gccsuffix}" != ""
Provides: gcc-c++ = %{version} Provides: gcc-c++ = %{version}
Conflicts: gcc-c++
%endif %endif
Requires: gcc%{gcc_version}-c++ Requires: gcc%{gcc_version}-c++
Requires: gcc%{gccsuffix} = %{version} Requires: gcc%{gccsuffix} = %{version}
@ -212,6 +218,7 @@ License: GPL-3.0-only WITH GCC-exception-3.1
Group: System/Libraries Group: System/Libraries
%if "%{gccsuffix}" != "" %if "%{gccsuffix}" != ""
Provides: libstdc++-devel = %{version} Provides: libstdc++-devel = %{version}
Conflicts: libstdc++-devel
%endif %endif
Requires: libstdc++6-devel-gcc%{gcc_version} Requires: libstdc++6-devel-gcc%{gcc_version}
@ -242,6 +249,10 @@ The system GNU C++ 64bit development files.
Summary: The system GNU Fortran Compiler Summary: The system GNU Fortran Compiler
License: GPL-3.0-or-later License: GPL-3.0-or-later
Group: Development/Languages/Fortran Group: Development/Languages/Fortran
%if "%{gccsuffix}" != ""
Provides: gcc-fortran = %{version}
Conflicts: gcc-fortran
%endif
Requires: gcc%{gcc_version}-fortran Requires: gcc%{gcc_version}-fortran
Requires: gcc%{gccsuffix} = %{version} Requires: gcc%{gccsuffix} = %{version}
@ -426,6 +437,15 @@ Requires: libgccjit%{libgccjit_sover}-devel-gcc%{gcc_version}
%description -n libgccjit%{gccsuffix}-devel %description -n libgccjit%{gccsuffix}-devel
Package contains header files and documentation for GCC JIT front-end. Package contains header files and documentation for GCC JIT front-end.
%package -n libquadmath%{gccsuffix}-devel
Summary: Development files for the quadprecision math library
License: LGPL-2.1-only
Group: Development/Languages/Fortran
Requires: libquadmath0-devel-gcc%{gcc_version}
%description -n libquadmath%{gccsuffix}-devel
Development files for the quadprecision math library.
%prep %prep
%install %install
@ -695,4 +715,12 @@ fi
%defattr(-,root,root) %defattr(-,root,root)
# empty - only for the dependency # empty - only for the dependency
%if %{gcc_version} >= 14
%ifarch %quadmath_arch
%files -n libquadmath%{gccsuffix}-devel
%defattr(-,root,root)
# empty - only for the dependency
%endif
%endif
%changelog %changelog