@@ -42,10 +42,8 @@ Source1: https://static.rust-lang.org/dist/%{bootstrap_date}/rust-%{bootstrap_ru
42
42
# Source1-md5: 62b0974a4bad5aeabd50c7a7fa74518c
43
43
Source2: https://static.rust-lang.org/dist/%{bootstrap_date }/rust-%{bootstrap_rust }-i686-unknown-linux-gnu.tar.xz
44
44
# Source2-md5: 758d55172c8dddb1ec71913b5f532bb2
45
- Source3: https://static.rust-lang.org/dist/%{bootstrap_date }/rust-std-%{bootstrap_rust }-x86_64 -unknown-linux-gnux32.tar.xz
46
- # Source3-md5: 4b07c6922a0965791cf8eb28fee9e89d
47
- Source4: https://static.rust-lang.org/dist/%{bootstrap_date }/rust-%{bootstrap_rust }-aarch64 -unknown-linux-gnu.tar.xz
48
- # Source4-md5: 3a9d54ab96f96664b2f6077cccb4e70b
45
+ Source3: https://static.rust-lang.org/dist/%{bootstrap_date }/rust-%{bootstrap_rust }-aarch64 -unknown-linux-gnu.tar.xz
46
+ # Source3-md5: 3a9d54ab96f96664b2f6077cccb4e70b
49
47
Patch0: %{name }-no-miri.patch
50
48
Patch1: %{name }-x32.patch
51
49
URL: https://www.rust-lang.org/
@@ -266,14 +264,8 @@ tar xf %{SOURCE1}
266
264
%ifarch %{ix86 }
267
265
tar xf %{SOURCE2 }
268
266
%endif
269
- %ifarch x32
270
- cd %{bootstrap_root }
271
- tar xf %{SOURCE3 }
272
- %{__mv} rust-std-%{bootstrap_rust }-%{rust_triple } rust-std-%{rust_triple }
273
- cd ..
274
- %endif
275
267
%ifarch aarch64
276
- tar xf %{SOURCE4 }
268
+ tar xf %{SOURCE3 }
277
269
%endif
278
270
%{__mv} %{bootstrap_root } %{bootstrap_root }-root
279
271
%{bootstrap_root }-root/install.sh \
@@ -282,12 +274,6 @@ tar xf %{SOURCE4}
282
274
--disable-ldconfig
283
275
test -f %{local_rust_root }/bin/cargo
284
276
test -f %{local_rust_root }/bin/rustc
285
- %ifarch x32
286
- %{bootstrap_root }-root/rust-std-%{rust_triple }/install.sh \
287
- --components= rust-std-%{rust_triple } \
288
- --prefix= %{local_rust_root } \
289
- --disable-ldconfig
290
- %endif
291
277
%endif
292
278
293
279
# unbundle
0 commit comments