From b49cf631e725c09c7ad18abc671f7a0ddeca47cc97495778674f30b0df487c7a Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Tue, 19 Mar 2024 07:30:11 +0000 Subject: [PATCH] - Add gcc, gcc-c++ and libstdc++-devel Provides to the -build flavor OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gcc?expand=0&rev=127 --- gcc.changes | 2 +- gcc.spec | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/gcc.changes b/gcc.changes index 6574c5c..345340e 100644 --- a/gcc.changes +++ b/gcc.changes @@ -1,7 +1,7 @@ ------------------------------------------------------------------- Mon Mar 18 13:47:32 UTC 2024 - Richard Biener -- Add gcc-c++ and libstdc++-devel Provides to the -build flavor +- Add gcc, gcc-c++ and libstdc++-devel Provides to the -build flavor of those packages. Should fix build of boost in ALP. ------------------------------------------------------------------- diff --git a/gcc.spec b/gcc.spec index 0f79d34..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 @@ -150,8 +153,8 @@ The system GNU Compiler documentation. -# install / update the entries +# 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