Is there any real package .spec that use cc-toolset-9 as example?
SCL documentation is too extensive and mostly about creating new SCL,
I cannot find short description how simply to make one new package using modern C++.

5 мая 2021 г., в 16:09, Stephen John Smoogen <smooge@gmail.com> ):



On Wed, 5 May 2021 at 03:33, Евгений Пивнев <ti.eugene@gmail.com> wrote:
May be this is trivial question but I cannot find how to package application for EPEL8 that requires C++17+
Adding «Requires: gcc-toolchain-10» into *.spec not helps.

The package name is gcc-toolset-9 and it is a SCL so you need to set up the build environment like it is using other SCL's with an `scl enable` in the spec file.