%define wrapset devtoolset %define toolset gcc-toolset %define toolver 11 Summary: devtoolset-11-gcc-c++ - C++ support for GCC version 11 Name: %{wrapset}-%{toolver}-gcc-c++ Version: 11.2.1 Release: 1%{?dist} License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD URL: http://gcc.gnu.org BuildRequires: %{toolset}-%{toolver}-annobin-plugin-gcc Requires: %{toolset}-%{toolver}-gcc-c++ >= %{version}-%{release} Requires: %{toolset}-%{toolver}-annobin-plugin-gcc %description This package adds C++ support to the GNU Compiler Collection version 11. It includes support for most of the current C++ specification and a lot of support for the upcoming C++ specification. %prep %build %install mkdir -p %{buildroot}/opt/rh/%{toolset}-%{toolver}/root/usr/lib/gcc/%{_arch}-redhat-linux/%{toolver}/plugin ln -s /opt/rh/%{toolset}-%{toolver}/root/usr/lib/gcc/%{_arch}-redhat-linux/%{toolver}/plugin/annobin.so \ %{buildroot}/opt/rh/%{toolset}-%{toolver}/root/usr/lib/gcc/%{_arch}-redhat-linux/%{toolver}/plugin/gcc-annobin.so ln -s /opt/rh/%{toolset}-%{toolver} %{buildroot}/opt/rh/%{wrapset}-%{toolver} %files /opt/rh/%{toolset}-%{toolver}/root/usr/lib/gcc/%{_arch}-redhat-linux/%{toolver}/plugin/gcc-annobin.so /opt/rh/%{wrapset}-%{toolver} %changelog * Sat May 27 2023 Jean-Marc Liger - 11.2.1-1 - Make a %{wrapset}-%{toolver}-gcc++ wrapper for %{toolset}-%{toolver}-gcc++ to EL 8, Stream dependancies