From e4630b1c84e9fa37f4d9da0c024e9d8b9c8c2c36 Mon Sep 17 00:00:00 2001 From: Marek Polacek Date: Tue, 25 Apr 2023 16:09:13 -0400 Subject: [PATCH] Don't ship macros.%{scl}-config Resolves: #2188491 --- gcc-toolset-13.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gcc-toolset-13.spec b/gcc-toolset-13.spec index 1f6df7c..02ad60e 100644 --- a/gcc-toolset-13.spec +++ b/gcc-toolset-13.spec @@ -111,6 +111,10 @@ EOF %install (%{scl_install}) +# We no longer need this, and it would result in an "unpackaged but +# installed" error. +rm -rf %{buildroot}%{_root_sysconfdir}/rpm/macros.%{scl}-config + # This allows users to build packages using DTS/GTS. cat >> %{buildroot}%{_root_sysconfdir}/rpm/macros.%{scl}-enable << EOF %%enable_devtoolset13 %%global ___build_pre %%{___build_pre}; source scl_source enable %{scl} || :