Skip to content

Commit 8a21aee

Browse files
committed
- updated libexecdir adjustment
1 parent 33a4a51 commit 8a21aee

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

rust.spec

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,10 @@ sed -i -e 's#DIRECTORY=".*"#DIRECTORY="%{_datadir}/%{name}/etc"#' \
373373
%if "%{_libexecdir}" != "%{_prefix}/libexec"
374374
suffix="%(echo "%{_libexecdir}" | %{__sed} -e 's,^%{_prefix}/,,')"
375375
%{__sed} -i -e 's,"libexec","'${suffix}'",' \
376-
src/bootstrap/dist.rs
376+
src/bootstrap/src/core/download.rs \
377+
src/bootstrap/src/core/build_steps/dist.rs \
378+
src/bootstrap/src/core/build_steps/tool.rs
379+
%{__sed} -i -e "s,/libexec/,/${suffix}/," src/bootstrap/bootstrap.py
377380
%endif
378381

379382
# The configure macro will modify some autoconf-related files, which upsets

0 commit comments

Comments
 (0)