From 3714b32f93935932fbdfa99e3724325e4fe70131 Mon Sep 17 00:00:00 2001 From: eabdullin Date: Wed, 6 Nov 2024 09:11:45 +0300 Subject: [PATCH] Set requires to non GTS alternatives --- SPECS/binutils.spec | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/SPECS/binutils.spec b/SPECS/binutils.spec index 7de9444..2932921 100644 --- a/SPECS/binutils.spec +++ b/SPECS/binutils.spec @@ -473,13 +473,8 @@ BuildRequires: elfutils-debuginfod-client-devel %{?scl:Requires:%scl_runtime} -%if %{bootstrapping} -%define alternatives_cmd %{_sbindir}/alternatives +%define alternatives_cmd /usr/sbin/alternatives %define alternatives_cmdline %{alternatives_cmd} -%else -%define alternatives_cmd %{!?scl:%{_sbindir}}%{?scl:%{_root_sbindir}}/alternatives -%define alternatives_cmdline %{alternatives_cmd}%{?scl: --altdir %{_sysconfdir}/alternatives --admindir %{_scl_root}/var/lib/alternatives} -%endif Requires(post): %{alternatives_cmd} Requires(preun): %{alternatives_cmd}