21
21
# To bootstrap from scratch, set the channel and date from src/stage0.txt
22
22
# e.g. 1.10.0 wants rustc: 1.9.0-2016-05-24
23
23
# or nightly wants some beta-YYYY-MM-DD
24
- %define bootstrap_rust 1.48 .0
25
- %define bootstrap_cargo 1.48 .0
26
- %define bootstrap_date 2020-11-19
24
+ %define bootstrap_rust 1.51 .0
25
+ %define bootstrap_cargo 1.51 .0
26
+ %define bootstrap_date 2021-03-25
27
27
28
28
%ifarch x32
29
29
%define with_cross 1
30
30
%endif
31
31
Summary: The Rust Programming Language
32
32
Summary(pl.UTF-8): Język programowania Rust
33
33
Name: rust
34
- Version: 1.49 .0
34
+ Version: 1.52 .0
35
35
Release: 0.1
36
36
# Licenses: (rust itself) and (bundled libraries)
37
37
License: (Apache v2.0 or MIT ) and (BSD and ISC and MIT )
38
38
Group: Development/Languages
39
39
Source0: https://static.rust-lang.org/dist/%{rustc_package }.tar.xz
40
- # Source0-md5: f13014e17f84a99ff749f81e0cd1d2b1
40
+ # Source0-md5: f95ca614a531b3c1edd4918eaa329732
41
41
Source1: https://static.rust-lang.org/dist/%{bootstrap_date }/rust-%{bootstrap_rust }-x86_64 -unknown-linux-gnu.tar.xz
42
- # Source1-md5: 9aab1315df1f461bc988c5b5abcb8c89
42
+ # Source1-md5: 7640d6538716c6492e56f361e3af0631
43
43
Source2: https://static.rust-lang.org/dist/%{bootstrap_date }/rust-%{bootstrap_rust }-i686-unknown-linux-gnu.tar.xz
44
- # Source2-md5: 107dda909166a9c57d7907ac956eecd9
44
+ # Source2-md5: 64f117dc1ae1543c8910eaa9a971ddd4
45
45
Source3: https://static.rust-lang.org/dist/%{bootstrap_date }/rust-%{bootstrap_rust }-aarch64 -unknown-linux-gnu.tar.xz
46
- # Source3-md5: 905c4ad9d3737fdf04c1acfd1b612b7c
46
+ # Source3-md5: 3ac79872671df7ea0215fd351f52ffcf
47
47
Source4: https://static.rust-lang.org/dist/%{bootstrap_date }/rust-%{bootstrap_rust }-arm-unknown-linux-gnueabihf.tar.xz
48
- # Source4-md5: f8502775faa60c018e38eda59c43147e
48
+ # Source4-md5: f624772d7c7ba2e83a51b4e9c1657f7b
49
49
Patch0: %{name }-x32.patch
50
50
URL: https://www.rust-lang.org/
51
51
# for src/compiler-rt
@@ -59,8 +59,10 @@ BuildRequires: rpmbuild(macros) >= 1.752
59
59
BuildRequires: curl-devel
60
60
BuildRequires: libgit2-devel
61
61
BuildRequires: libstdc++-devel
62
- %{?with_system_llvm:BuildRequires: llvm-devel >= 8 .0}
62
+ %{?with_system_llvm:BuildRequires: llvm-devel >= 9 .0}
63
63
BuildRequires: openssl-devel >= 1.0.1
64
+ BuildRequires: tar >= 1:1.22
65
+ BuildRequires: xz
64
66
BuildRequires: zlib-devel
65
67
%endif
66
68
%if %{without bootstrap}
@@ -77,7 +79,7 @@ BuildRequires: curl-devel
77
79
BuildRequires: gcc-multilib-x32
78
80
BuildRequires: libgit2-devel
79
81
BuildRequires: libstdc++-devel
80
- %{?with_system_llvm:BuildRequires: llvm-devel >= 8 .0}
82
+ %{?with_system_llvm:BuildRequires: llvm-devel >= 9 .0}
81
83
BuildRequires: openssl-devel >= 1.0.1
82
84
BuildRequires: zlib-devel
83
85
%else
@@ -285,7 +287,7 @@ Dopełnianie parametrów polecenia cargo w powłoce Zsh.
285
287
%prep
286
288
%setup -q -n %{rustc_package }
287
289
# irrelevant when not building rustc for x32
288
- %patch0 -p1
290
+ # % %patch0 -p1
289
291
290
292
%if %{with bootstrap }
291
293
%ifarch %{x8664 } x32
@@ -423,11 +425,9 @@ rm -rf $RPM_BUILD_ROOT
423
425
%attr(755,root,root) %{_bindir }/rustc
424
426
%attr(755,root,root) %{_bindir }/rustdoc
425
427
%attr(755,root,root) %{_bindir }/rustfmt
426
- %attr(755,root,root) %{_libdir }/libchalk_derive-* .so
427
428
%attr(755,root,root) %{_libdir }/librustc* -* .so
428
429
%attr(755,root,root) %{_libdir }/libstd-* .so
429
430
%attr(755,root,root) %{_libdir }/libtest-* .so
430
- %attr(755,root,root) %{_libdir }/libtracing_attributes-* .so
431
431
%{_mandir }/man1/rustc.1*
432
432
%{_mandir }/man1/rustdoc.1*
433
433
%dir %{rustlibdir }
@@ -475,6 +475,7 @@ rm -rf $RPM_BUILD_ROOT
475
475
%attr(755,root,root) %{_bindir }/cargo-fmt
476
476
%attr(755,root,root) %{_bindir }/cargo-miri
477
477
%attr(755,root,root) %{_bindir }/clippy-driver
478
+ %attr(755,root,root) %{_libexecdir }/cargo-credential-1password
478
479
%{_mandir }/man1/cargo* .1*
479
480
%dir %{_datadir }/cargo
480
481
%dir %{_datadir }/cargo/registry
0 commit comments