Skip to content

Commit 33a4a51

Browse files
committed
up to 1.77.0
- disable optimized-compiler-builtins as it requires llvm's compiler-rt sources. not sure why it can't use system compiler-rt. see rust-lang/rust@6a409dd
1 parent 13554c8 commit 33a4a51

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,9 +21,9 @@
2121
# To bootstrap from scratch, set the channel and date from src/stage0.json
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.75.0
24+
%define bootstrap_rust 1.76.0
2525
%define bootstrap_cargo %{bootstrap_rust}
26-
%define bootstrap_date 2023-12-28
26+
%define bootstrap_date 2024-02-08
2727

2828
%ifarch x32
2929
%define with_cross 1
@@ -36,23 +36,23 @@
3636
Summary: The Rust Programming Language
3737
Summary(pl.UTF-8): Język programowania Rust
3838
Name: rust
39-
Version: 1.76.0
39+
Version: 1.77.0
4040
Release: 1
4141
# Licenses: (rust itself) and (bundled libraries)
4242
License: (Apache v2.0 or MIT) and (BSD and ISC and MIT)
4343
Group: Development/Languages
4444
Source0: https://static.rust-lang.org/dist/%{rustc_package}.tar.xz
45-
# Source0-md5: 14a8ac688b461a3127090cad513aee05
45+
# Source0-md5: 7df442945fb2e32cbccd45a7faa3a5e1
4646
Source1: https://static.rust-lang.org/dist/%{bootstrap_date}/rust-%{bootstrap_rust}-x86_64-unknown-linux-gnu.tar.xz
47-
# Source1-md5: 4757872b8ecc24a47a2d85ec0221cbda
47+
# Source1-md5: 5f9b4a89f2123e044cc46c7659dfc4fb
4848
Source2: https://static.rust-lang.org/dist/%{bootstrap_date}/rust-%{bootstrap_rust}-i686-unknown-linux-gnu.tar.xz
49-
# Source2-md5: 6fad7d48f9de8b6961d9986a91727677
49+
# Source2-md5: fe76aea1be1894a9b48e1bea614038c6
5050
Source3: https://static.rust-lang.org/dist/%{bootstrap_date}/rust-%{bootstrap_rust}-aarch64-unknown-linux-gnu.tar.xz
51-
# Source3-md5: 32ee98d9dd4315923a703008a035938b
51+
# Source3-md5: b4741f9574bd432e2370c91d56d17ae0
5252
Source4: https://static.rust-lang.org/dist/%{bootstrap_date}/rust-%{bootstrap_rust}-arm-unknown-linux-gnueabihf.tar.xz
53-
# Source4-md5: cc02f41ef88527ae09066f6487e0bafd
53+
# Source4-md5: de71c41731df9187d4cca2f61359be28
5454
Source5: https://static.rust-lang.org/dist/%{bootstrap_date}/rust-%{bootstrap_rust}-armv7-unknown-linux-gnueabihf.tar.xz
55-
# Source5-md5: 93cb191560039e61b8a007e3d77158cb
55+
# Source5-md5: 80c933da93013752d852f6f1280d7e12
5656
URL: https://www.rust-lang.org/
5757
# for src/compiler-rt
5858
BuildRequires: cmake >= 3.4.3
@@ -68,7 +68,7 @@ BuildRequires: rpm-build >= 4.6
6868
BuildRequires: rpmbuild(macros) >= 1.752
6969
%if %{without cross}
7070
BuildRequires: curl-devel
71-
BuildRequires: libgit2-devel >= 1.7.1
71+
BuildRequires: libgit2-devel >= 1.7.2
7272
BuildRequires: libstdc++-devel
7373
%if %{with system_llvm}
7474
BuildRequires: llvm >= 16.0
@@ -92,7 +92,7 @@ BuildRequires: glibc-devel(x86-x32)
9292
# building on x86_64 host with --target x32-pld-linux
9393
BuildRequires: curl-devel
9494
BuildRequires: gcc-multilib-x32
95-
BuildRequires: libgit2-devel >= 1.7.1
95+
BuildRequires: libgit2-devel >= 1.7.2
9696
BuildRequires: libstdc++-devel
9797
%{?with_system_llvm:BuildRequires: llvm-devel >= 16.0}
9898
BuildRequires: openssl-devel >= 1.0.1
@@ -103,8 +103,8 @@ BuildRequires: zlib-devel
103103
BuildRequires: curl-devel(x86-64)
104104
BuildRequires: curl-devel(x86-x32)
105105
BuildRequires: gcc-multilib-64
106-
BuildRequires: libgit2-devel(x86-64) >= 1.7.1
107-
BuildRequires: libgit2-devel(x86-x32) >= 1.7.1
106+
BuildRequires: libgit2-devel(x86-64) >= 1.7.2
107+
BuildRequires: libgit2-devel(x86-x32) >= 1.7.2
108108
BuildRequires: libstdc++-multilib-64-devel
109109
%if %{with system_llvm}
110110
BuildRequires: llvm-devel(x86-64) >= 16.0
@@ -409,7 +409,8 @@ export AR="%{__ar}"
409409
--local-rust-root=%{local_rust_root} \
410410
--llvm-root=%{_prefix} \
411411
--release-channel=%{channel} \
412-
--set=llvm.static-libstdcpp=false
412+
--set=llvm.static-libstdcpp=false \
413+
--set=build.optimized-compiler-builtins=false
413414

414415
export RUST_BACKTRACE=full
415416
%x_py dist --verbose

0 commit comments

Comments
 (0)