- 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
This commit is contained in:
Richard Biener 2024-03-19 07:30:11 +00:00 committed by Git OBS Bridge
parent 0199c2a4e9
commit b49cf631e7
2 changed files with 5 additions and 2 deletions

View File

@ -1,7 +1,7 @@
-------------------------------------------------------------------
Mon Mar 18 13:47:32 UTC 2024 - Richard Biener <rguenther@suse.com>
- 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.
-------------------------------------------------------------------

View File

@ -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