Set requires to non GTS alternatives
This commit is contained in:
parent
69d7daa236
commit
3714b32f93
@ -473,13 +473,8 @@ BuildRequires: elfutils-debuginfod-client-devel
|
|||||||
|
|
||||||
%{?scl:Requires:%scl_runtime}
|
%{?scl:Requires:%scl_runtime}
|
||||||
|
|
||||||
%if %{bootstrapping}
|
%define alternatives_cmd /usr/sbin/alternatives
|
||||||
%define alternatives_cmd %{_sbindir}/alternatives
|
|
||||||
%define alternatives_cmdline %{alternatives_cmd}
|
%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(post): %{alternatives_cmd}
|
||||||
Requires(preun): %{alternatives_cmd}
|
Requires(preun): %{alternatives_cmd}
|
||||||
|
Loading…
Reference in New Issue
Block a user