Don't ship macros.%{scl}-config

Resolves: #2188491
This commit is contained in:
Marek Polacek 2023-04-25 16:09:13 -04:00
parent bd9694de15
commit e4630b1c84

View File

@ -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} || :