2121# To bootstrap from scratch, set the channel and date from src/stage0
2222# e.g. 1.10.0 wants rustc: 1.9.0-2016-05-24
2323# or nightly wants some beta-YYYY-MM-DD
24- %define bootstrap_rust 1.79.0
24+ %define bootstrap_rust 1.80.1
2525%define bootstrap_cargo %{bootstrap_rust }
26- %define bootstrap_date 2024-06-13
26+ %define bootstrap_date 2024-08-08
2727
2828%ifarch x32
2929%define with_cross 1
3636Summary: The Rust Programming Language
3737Summary(pl.UTF-8): Język programowania Rust
3838Name: rust
39- Version: 1.80.1
39+ Version: 1.81.0
4040Release: 1
4141# Licenses: (rust itself) and (bundled libraries)
4242License: (Apache v2.0 or MIT ) and (BSD and ISC and MIT )
4343Group: Development/Languages
4444Source0: https://static.rust-lang.org/dist/%{rustc_package }.tar.xz
45- # Source0-md5: 0b00381728b6c005e95194f7e44cff33
45+ # Source0-md5: 4f202568150660f369de3afbfb410970
4646Source1: https://static.rust-lang.org/dist/%{bootstrap_date }/rust-%{bootstrap_rust }-x86_64 -unknown-linux-gnu.tar.xz
47- # Source1-md5: 8cada8e8ab0c319651cca015dc991a04
47+ # Source1-md5: 8eb5bba2b8b9a10d81f44040c3971f3d
4848Source2: https://static.rust-lang.org/dist/%{bootstrap_date }/rust-%{bootstrap_rust }-i686-unknown-linux-gnu.tar.xz
49- # Source2-md5: c6b30151093174241ccef35493568d6c
49+ # Source2-md5: 1a0ed99307d2d6804fb0ba077667b896
5050Source3: https://static.rust-lang.org/dist/%{bootstrap_date }/rust-%{bootstrap_rust }-aarch64 -unknown-linux-gnu.tar.xz
51- # Source3-md5: 9c111bb3192c5f337eda068926fcc973
51+ # Source3-md5: 8119069a8ac71d1661fff3df5584d978
5252Source4: https://static.rust-lang.org/dist/%{bootstrap_date }/rust-%{bootstrap_rust }-arm-unknown-linux-gnueabihf.tar.xz
53- # Source4-md5: 3492990256d53c9cb81d7824b0df96a7
53+ # Source4-md5: cef3379a5232e29c54ccc07dc9fb8f5d
5454Source5: https://static.rust-lang.org/dist/%{bootstrap_date }/rust-%{bootstrap_rust }-armv7-unknown-linux-gnueabihf.tar.xz
55- # Source5-md5: 96847eed7c03526d459213391cd8ea24
55+ # Source5-md5: 3b3e9945f3ffdf50226f14a818faf84d
5656URL: https://www.rust-lang.org/
5757# for src/compiler-rt
5858BuildRequires: cmake >= 3.4.3
5959BuildRequires: curl
6060%ifarch %{arm } %{mips32 } %{ppc }
6161BuildRequires: libatomic-devel
6262%endif
63+ BuildRequires: lld
6364# make check needs "ps" for src/test/run-pass/wait-forked-but-failed-child.rs
6465BuildRequires: procps
6566BuildRequires: python3
@@ -489,7 +490,6 @@ rm -rf $RPM_BUILD_ROOT
489490%files
490491%defattr(644,root,root,755)
491492%doc COPYRIGHT LICENSE-APACHE LICENSE-MIT README.md
492- %attr(755,root,root) %{_bindir }/rust-demangler
493493%attr(755,root,root) %{_bindir }/rustc
494494%attr(755,root,root) %{_bindir }/rustdoc
495495%attr(755,root,root) %{_bindir }/rustfmt
@@ -499,6 +499,13 @@ rm -rf $RPM_BUILD_ROOT
499499%{_mandir }/man1/rustc.1*
500500%{_mandir }/man1/rustdoc.1*
501501%dir %{rustlibdir }
502+ %dir %{rustlibdir }/%rust_triple /bin
503+ %attr(755,root,root) %{rustlibdir }/%rust_triple /bin/rust-lld
504+ %dir %{rustlibdir }/%rust_triple /bin/gcc-ld
505+ %attr(755,root,root) %{rustlibdir }/%rust_triple /bin/gcc-ld/ld.lld
506+ %attr(755,root,root) %{rustlibdir }/%rust_triple /bin/gcc-ld/ld64.lld
507+ %attr(755,root,root) %{rustlibdir }/%rust_triple /bin/gcc-ld/lld-link
508+ %attr(755,root,root) %{rustlibdir }/%rust_triple /bin/gcc-ld/wasm-ld
502509
503510%files std
504511%defattr(644,root,root,755)
0 commit comments