diff --git a/dnf5.spec b/dnf5.spec index 4d210cade..e25c7d861 100644 --- a/dnf5.spec +++ b/dnf5.spec @@ -136,7 +136,7 @@ BuildRequires: toml11-static %if %{with clang} BuildRequires: clang %else -BuildRequires: gcc-c++ +BuildRequires: gcc-c++ >= 10.1 %endif %if %{with tests}