From: Jakub Bogusz Date: Thu, 11 Apr 2024 19:49:45 +0000 (+0200) Subject: - updated libexecdir adjustment X-Git-Tag: auto/th/rust-1.78.0-1~1 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=8a21aeeee57c53342d7d4d82722853149f77c086;hp=33a4a51f81949375975e4d07b3783660caef056d;p=packages%2Frust.git - updated libexecdir adjustment --- diff --git a/rust.spec b/rust.spec index b4d10db..f8e712e 100644 --- a/rust.spec +++ b/rust.spec @@ -373,7 +373,10 @@ sed -i -e 's#DIRECTORY=".*"#DIRECTORY="%{_datadir}/%{name}/etc"#' \ %if "%{_libexecdir}" != "%{_prefix}/libexec" suffix="%(echo "%{_libexecdir}" | %{__sed} -e 's,^%{_prefix}/,,')" %{__sed} -i -e 's,"libexec","'${suffix}'",' \ - src/bootstrap/dist.rs + src/bootstrap/src/core/download.rs \ + src/bootstrap/src/core/build_steps/dist.rs \ + src/bootstrap/src/core/build_steps/tool.rs +%{__sed} -i -e "s,/libexec/,/${suffix}/," src/bootstrap/bootstrap.py %endif # The configure macro will modify some autoconf-related files, which upsets