File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -217,19 +217,32 @@ Dopełnianie parametrów polecenia cargo w powłoce Zsh.
217
217
%setup -q -n %{rustc_package }
218
218
219
219
%if %{with bootstrap }
220
- %ifarch %{x8664 } x32
220
+ %ifarch %{x8664 }
221
221
tar xf %{SOURCE1 }
222
222
%endif
223
223
%ifarch %{ix86 }
224
224
tar xf %{SOURCE2 }
225
225
%endif
226
+ %ifarch x32
227
+ tar xf %{SOURCE1 }
228
+ cd %{bootstrap_root }
229
+ tar xf %{SOURCE3 }
230
+ %{__mv} rust-std-%{bootstrap_rust }-%{rust_triple } rust-std-%{rust_triple }
231
+ cd ..
232
+ %endif
226
233
%{__mv} %{bootstrap_root } %{bootstrap_root }-root
227
234
%{bootstrap_root }-root/install.sh \
228
235
--components= cargo,rustc,rust-std-%{rust_bootstrap_triple } \
229
236
--prefix= %{local_rust_root } \
230
237
--disable-ldconfig
231
238
test -f %{local_rust_root }/bin/cargo
232
239
test -f %{local_rust_root }/bin/rustc
240
+ %ifarch x32
241
+ %{bootstrap_root }-root/rust-std-%{rust_triple }/install.sh \
242
+ --components= rust-std-%{rust_triple } \
243
+ --prefix= %{local_rust_root } \
244
+ --disable-ldconfig
245
+ %endif
233
246
%endif
234
247
235
248
# unbundle
You can’t perform that action at this time.
0 commit comments