From fd0154c754dcf5c36814d9c5a6d584c541590dcf Mon Sep 17 00:00:00 2001 From: ebasov Date: Fri, 24 Jan 2025 16:25:43 +0300 Subject: [PATCH] Remove superfluous --- SPECS/kernel-6.1.spec | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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 ###