diff --git a/SPECS/kernel-6.1.spec b/SPECS/kernel-6.1.spec index 06b62ba..0535623 100644 --- a/SPECS/kernel-6.1.spec +++ b/SPECS/kernel-6.1.spec @@ -2,9 +2,6 @@ %define patchlevel 1 # Disable LTO in userspace packages. %global _lto_cflags %{nil} - -%global enable_devtoolset12() \ - %{scl enable devtoolset-12 "%{expand:%{__cc} %{?cflags} %{?optflags} %{?debugflags} %{?ldflags}}"} # The libexec directory is not used by the linker, so the shared object there # should not be exported to RPM provides. @@ -225,14 +222,13 @@ BuildRequires: openssl BuildRequires: nss-tools, pesign >= 0.10-4, system-sb-certs %endif %endif -BuildRequires: scl-utils + BuildRequires: gcc-toolset-12 %enable_devtoolset12 BuildRequires: gcc-toolset-12-annobin-symlink - BuildConflicts: rhbuildsys(DiskFree) < 500Mb ###