diff --git a/gcc.changes b/gcc.changes index 87fa8b5..345340e 100644 --- a/gcc.changes +++ b/gcc.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Mar 18 13:47:32 UTC 2024 - Richard Biener + +- Add gcc, gcc-c++ and libstdc++-devel Provides to the -build flavor + of those packages. Should fix build of boost in ALP. + ------------------------------------------------------------------- Wed Feb 14 09:27:54 UTC 2024 - Richard Biener diff --git a/gcc.spec b/gcc.spec index 4738831..2540f21 100644 --- a/gcc.spec +++ b/gcc.spec @@ -61,6 +61,9 @@ Summary: The system GNU C Compiler License: GPL-3.0-or-later Group: Development/Languages/C and C++ Provides: c_compiler +%if "%{gccsuffix}" != "" +Provides: gcc = %{version} +%endif Requires: cpp%{gccsuffix} Requires: gcc%{gcc_version} BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -151,13 +154,7 @@ The system GNU Compiler documentation. - - - - - # install / update the entries - %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=gcc --description='The GNU Compiler Collection.' %{_infodir}/gcc.info.gz @@ -178,6 +175,9 @@ Summary: The system GNU C++ Compiler License: GPL-3.0-or-later Group: Development/Languages/C and C++ Provides: c++_compiler +%if "%{gccsuffix}" != "" +Provides: gcc-c++ = %{version} +%endif Requires: gcc%{gcc_version}-c++ Requires: gcc%{gccsuffix} = %{version} @@ -210,6 +210,9 @@ The system GNU C++ Compiler 64 bit support. Summary: The system GNU C++ development files License: GPL-3.0-only WITH GCC-exception-3.1 Group: System/Libraries +%if "%{gccsuffix}" != "" +Provides: libstdc++-devel = %{version} +%endif Requires: libstdc++6-devel-gcc%{gcc_version} %description -n libstdc++%{gccsuffix}-devel