]> git.pld-linux.org Git - packages/rust.git/commitdiff
- add some x32 specific prep stuff auto/th/rust-1.38.0-1
authorJan Rękorajski <baggins@pld-linux.org>
Sun, 20 Oct 2019 21:51:22 +0000 (23:51 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Sun, 20 Oct 2019 21:51:22 +0000 (23:51 +0200)
rust.spec

index 8cf322a7955c71cc65b8bdc7ba5e99371aa956af..7bc9d73f12c91ac8d82cac2d38041a26a283eef8 100644 (file)
--- a/rust.spec
+++ b/rust.spec
@@ -217,12 +217,19 @@ Dopełnianie parametrów polecenia cargo w powłoce Zsh.
 %setup -q -n %{rustc_package}
 
 %if %{with bootstrap}
-%ifarch %{x8664} x32
+%ifarch %{x8664}
 tar xf %{SOURCE1}
 %endif
 %ifarch %{ix86}
 tar xf %{SOURCE2}
 %endif
+%ifarch x32
+tar xf %{SOURCE1}
+cd %{bootstrap_root}
+tar xf %{SOURCE3}
+%{__mv} rust-std-%{bootstrap_rust}-%{rust_triple} rust-std-%{rust_triple}
+cd ..
+%endif
 %{__mv} %{bootstrap_root} %{bootstrap_root}-root
 %{bootstrap_root}-root/install.sh \
        --components=cargo,rustc,rust-std-%{rust_bootstrap_triple} \
@@ -230,6 +237,12 @@ tar xf %{SOURCE2}
        --disable-ldconfig
 test -f %{local_rust_root}/bin/cargo
 test -f %{local_rust_root}/bin/rustc
+%ifarch x32
+%{bootstrap_root}-root/rust-std-%{rust_triple}/install.sh \
+       --components=rust-std-%{rust_triple} \
+       --prefix=%{local_rust_root} \
+       --disable-ldconfig
+%endif
 %endif
 
 # unbundle
This page took 0.176494 seconds and 4 git commands to generate.