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}