Skip to content

Commit 8a54bb9

Browse files
committed
up to 1.52.0
1 parent e67020b commit 8a54bb9

File tree

1 file changed

+15
-14
lines changed

1 file changed

+15
-14
lines changed

rust.spec

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -21,31 +21,31 @@
2121
# To bootstrap from scratch, set the channel and date from src/stage0.txt
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.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
2727

2828
%ifarch x32
2929
%define with_cross 1
3030
%endif
3131
Summary: The Rust Programming Language
3232
Summary(pl.UTF-8): Język programowania Rust
3333
Name: rust
34-
Version: 1.49.0
34+
Version: 1.52.0
3535
Release: 0.1
3636
# Licenses: (rust itself) and (bundled libraries)
3737
License: (Apache v2.0 or MIT) and (BSD and ISC and MIT)
3838
Group: Development/Languages
3939
Source0: https://static.rust-lang.org/dist/%{rustc_package}.tar.xz
40-
# Source0-md5: f13014e17f84a99ff749f81e0cd1d2b1
40+
# Source0-md5: f95ca614a531b3c1edd4918eaa329732
4141
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
4343
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
4545
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
4747
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
4949
Patch0: %{name}-x32.patch
5050
URL: https://www.rust-lang.org/
5151
# for src/compiler-rt
@@ -59,8 +59,10 @@ BuildRequires: rpmbuild(macros) >= 1.752
5959
BuildRequires: curl-devel
6060
BuildRequires: libgit2-devel
6161
BuildRequires: libstdc++-devel
62-
%{?with_system_llvm:BuildRequires: llvm-devel >= 8.0}
62+
%{?with_system_llvm:BuildRequires: llvm-devel >= 9.0}
6363
BuildRequires: openssl-devel >= 1.0.1
64+
BuildRequires: tar >= 1:1.22
65+
BuildRequires: xz
6466
BuildRequires: zlib-devel
6567
%endif
6668
%if %{without bootstrap}
@@ -77,7 +79,7 @@ BuildRequires: curl-devel
7779
BuildRequires: gcc-multilib-x32
7880
BuildRequires: libgit2-devel
7981
BuildRequires: libstdc++-devel
80-
%{?with_system_llvm:BuildRequires: llvm-devel >= 8.0}
82+
%{?with_system_llvm:BuildRequires: llvm-devel >= 9.0}
8183
BuildRequires: openssl-devel >= 1.0.1
8284
BuildRequires: zlib-devel
8385
%else
@@ -285,7 +287,7 @@ Dopełnianie parametrów polecenia cargo w powłoce Zsh.
285287
%prep
286288
%setup -q -n %{rustc_package}
287289
# irrelevant when not building rustc for x32
288-
%patch0 -p1
290+
#%%patch0 -p1
289291

290292
%if %{with bootstrap}
291293
%ifarch %{x8664} x32
@@ -423,11 +425,9 @@ rm -rf $RPM_BUILD_ROOT
423425
%attr(755,root,root) %{_bindir}/rustc
424426
%attr(755,root,root) %{_bindir}/rustdoc
425427
%attr(755,root,root) %{_bindir}/rustfmt
426-
%attr(755,root,root) %{_libdir}/libchalk_derive-*.so
427428
%attr(755,root,root) %{_libdir}/librustc*-*.so
428429
%attr(755,root,root) %{_libdir}/libstd-*.so
429430
%attr(755,root,root) %{_libdir}/libtest-*.so
430-
%attr(755,root,root) %{_libdir}/libtracing_attributes-*.so
431431
%{_mandir}/man1/rustc.1*
432432
%{_mandir}/man1/rustdoc.1*
433433
%dir %{rustlibdir}
@@ -475,6 +475,7 @@ rm -rf $RPM_BUILD_ROOT
475475
%attr(755,root,root) %{_bindir}/cargo-fmt
476476
%attr(755,root,root) %{_bindir}/cargo-miri
477477
%attr(755,root,root) %{_bindir}/clippy-driver
478+
%attr(755,root,root) %{_libexecdir}/cargo-credential-1password
478479
%{_mandir}/man1/cargo*.1*
479480
%dir %{_datadir}/cargo
480481
%dir %{_datadir}/cargo/registry

0 commit comments

Comments
 (0)