21
21
# To bootstrap from scratch, set the channel and date from src/stage0.json
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.67.1
24
+ %define bootstrap_rust 1.68.2
25
25
%define bootstrap_cargo %{bootstrap_rust }
26
- %define bootstrap_date 2023-02-09
26
+ %define bootstrap_date 2023-03-28
27
27
28
28
%ifarch x32
29
29
%define with_cross 1
36
36
Summary: The Rust Programming Language
37
37
Summary(pl.UTF-8): Język programowania Rust
38
38
Name: rust
39
- Version: 1.68.2
39
+ Version: 1.69.0
40
40
Release: 1
41
41
# Licenses: (rust itself) and (bundled libraries)
42
42
License: (Apache v2.0 or MIT ) and (BSD and ISC and MIT )
43
43
Group: Development/Languages
44
44
Source0: https://static.rust-lang.org/dist/%{rustc_package }.tar.xz
45
- # Source0-md5: df91d58551c09e6bf5d32e9bf3c0d802
45
+ # Source0-md5: 2fac6c46422e743f5f05287e89e72f22
46
46
Source1: https://static.rust-lang.org/dist/%{bootstrap_date }/rust-%{bootstrap_rust }-x86_64 -unknown-linux-gnu.tar.xz
47
- # Source1-md5: 800e693e0ac317755f8f0e19269540db
47
+ # Source1-md5: b82ae74e630a849d6675b93ddf0ed6ca
48
48
Source2: https://static.rust-lang.org/dist/%{bootstrap_date }/rust-%{bootstrap_rust }-i686-unknown-linux-gnu.tar.xz
49
- # Source2-md5: 65d86e2c17b1a09df55860a1d8dec9d4
49
+ # Source2-md5: a2affbb1e831228c71f972a270717ce3
50
50
Source3: https://static.rust-lang.org/dist/%{bootstrap_date }/rust-%{bootstrap_rust }-aarch64 -unknown-linux-gnu.tar.xz
51
- # Source3-md5: 127fdf3e824e23808a1fa6a8e92bcf56
51
+ # Source3-md5: 489073dd8a8380c28a570bf70c9fbd6e
52
52
Source4: https://static.rust-lang.org/dist/%{bootstrap_date }/rust-%{bootstrap_rust }-arm-unknown-linux-gnueabihf.tar.xz
53
- # Source4-md5: 70acb1412ca21e288105d86a7d5b975b
53
+ # Source4-md5: bb43d3fca2893f2de0b892e0f4a8fdb3
54
54
Source5: https://static.rust-lang.org/dist/%{bootstrap_date }/rust-%{bootstrap_rust }-armv7-unknown-linux-gnueabihf.tar.xz
55
- # Source5-md5: 1d917abdc484fd34c1471a931349a2c5
55
+ # Source5-md5: 5691b194302d66b40c3e4eee0eeb1813
56
56
Patch0: llvm-tools-install.patch
57
57
URL: https://www.rust-lang.org/
58
58
# for src/compiler-rt
@@ -72,8 +72,8 @@ BuildRequires: curl-devel
72
72
BuildRequires: libgit2-devel >= 1.4.0
73
73
BuildRequires: libstdc++-devel
74
74
%if %{with system_llvm }
75
- BuildRequires: llvm >= 13 .0
76
- BuildRequires: llvm-devel >= 13 .0
75
+ BuildRequires: llvm >= 14 .0
76
+ BuildRequires: llvm-devel >= 14 .0
77
77
%endif
78
78
BuildRequires: openssl-devel >= 1.0.1
79
79
BuildRequires: tar >= 1:1.22
@@ -95,7 +95,7 @@ BuildRequires: curl-devel
95
95
BuildRequires: gcc-multilib-x32
96
96
BuildRequires: libgit2-devel >= 1.4.0
97
97
BuildRequires: libstdc++-devel
98
- %{?with_system_llvm:BuildRequires: llvm-devel >= 13 .0}
98
+ %{?with_system_llvm:BuildRequires: llvm-devel >= 14 .0}
99
99
BuildRequires: openssl-devel >= 1.0.1
100
100
BuildRequires: xz-devel
101
101
BuildRequires: zlib-devel
@@ -108,8 +108,8 @@ BuildRequires: libgit2-devel(x86-64) >= 1.4.0
108
108
BuildRequires: libgit2-devel(x86-x32) >= 1.4.0
109
109
BuildRequires: libstdc++-multilib-64-devel
110
110
%if %{with system_llvm }
111
- BuildRequires: llvm-devel(x86-64) >= 13 .0
112
- BuildRequires: llvm-devel(x86-x32) >= 13 .0
111
+ BuildRequires: llvm-devel(x86-64) >= 14 .0
112
+ BuildRequires: llvm-devel(x86-x32) >= 14 .0
113
113
%endif
114
114
BuildRequires: openssl-devel(x86-64)
115
115
BuildRequires: openssl-devel(x86-x32)
@@ -128,6 +128,7 @@ Requires: %{name}-std%{?_isa} = %{version}-%{release}
128
128
Requires: %{name }-std(x86-64) = %{version }-%{release }
129
129
Requires: gcc-multilib-64
130
130
%endif
131
+ Obsoletes: rust-analysis < 1.69.0
131
132
# Only x86_64 and i686 are Tier 1 platforms at this time.
132
133
# x32 is Tier 2, only rust-std is available (no rustc or cargo).
133
134
# https://doc.rust-lang.org/nightly/rustc/platform-support.html
@@ -203,18 +204,6 @@ Rust to systemowy język programowania działający bardzo szybko,
203
204
zapobiegający naruszeniom ochrony pamięci i gwarantujący
204
205
bezpieczną wielowątkowość.
205
206
206
- %package analysis
207
- Summary: Metadata about the standard library
208
- Summary(pl.UTF-8): Metadane o standardowej bibliotece
209
- Group: Development/Tools
210
- Requires: %{name } = %{version }-%{release }
211
-
212
- %description analysis
213
- Metadata about the standard library.
214
-
215
- %description analysis -l pl.UTF-8
216
- Metadane o standardowej bibliotece.
217
-
218
207
%package std
219
208
Summary: Standard library for Rust
220
209
Summary(pl.UTF-8): Standardowa biblioteka Rusta
@@ -343,7 +332,7 @@ Dopełnianie parametrów polecenia cargo w powłoce Zsh.
343
332
344
333
%prep
345
334
%setup -q -n %{rustc_package }
346
- %patch0 -p1 -R
335
+ %patch0 -p1
347
336
348
337
%if %{with bootstrap }
349
338
%ifarch %{x8664 } x32
@@ -509,13 +498,6 @@ rm -rf $RPM_BUILD_ROOT
509
498
%{_mandir }/man1/rustdoc.1*
510
499
%dir %{rustlibdir }
511
500
512
- %files analysis
513
- %defattr(644,root,root,755)
514
- %(for rust_target in %rust_targets; do
515
- echo " %{rustlibdir}/$rust_target /analysis"
516
- done
517
- )
518
-
519
501
%files std
520
502
%defattr(644,root,root,755)
521
503
%(for rust_target in %rust_targets; do
0 commit comments