Skip to content

Commit 4079dca

Browse files
committed
up to 1.65.0
- rls is gone superseded by rust-analyzer
1 parent 3b51c7f commit 4079dca

File tree

1 file changed

+20
-36
lines changed

1 file changed

+20
-36
lines changed

rust.spec

Lines changed: 20 additions & 36 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.63.0
24+
%define bootstrap_rust 1.64.0
2525
%define bootstrap_cargo %{bootstrap_rust}
26-
%define bootstrap_date 2022-08-11
26+
%define bootstrap_date 2022-09-22
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.64.0
40-
Release: 3
39+
Version: 1.65.0
40+
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: e77ac3a786d013604061b17f99dd9b27
45+
# Source0-md5: e8588b74b238f0f2f2701217cfd449e1
4646
Source1: https://static.rust-lang.org/dist/%{bootstrap_date}/rust-%{bootstrap_rust}-x86_64-unknown-linux-gnu.tar.xz
47-
# Source1-md5: fccd4c3722193f8753d2918260f8c770
47+
# Source1-md5: 2c4c8116a0121d260591c4f4e9a9e1a8
4848
Source2: https://static.rust-lang.org/dist/%{bootstrap_date}/rust-%{bootstrap_rust}-i686-unknown-linux-gnu.tar.xz
49-
# Source2-md5: 6802c415076b992b3122073e258aba80
49+
# Source2-md5: 810702367f20ea89a62096df07d8e88d
5050
Source3: https://static.rust-lang.org/dist/%{bootstrap_date}/rust-%{bootstrap_rust}-aarch64-unknown-linux-gnu.tar.xz
51-
# Source3-md5: a38786367b5950df6e0da112df405aef
51+
# Source3-md5: c335b36395834b5e532a8d3247cc3cd4
5252
Source4: https://static.rust-lang.org/dist/%{bootstrap_date}/rust-%{bootstrap_rust}-arm-unknown-linux-gnueabihf.tar.xz
53-
# Source4-md5: 6bcdb6c0c6378ada390180dbc0530995
53+
# Source4-md5: 1e2a697052328304af093875255f2591
5454
Source5: https://static.rust-lang.org/dist/%{bootstrap_date}/rust-%{bootstrap_rust}-armv7-unknown-linux-gnueabihf.tar.xz
55-
# Source5-md5: 4877c64e55ae70eb4d0f93b262b37a1e
55+
# Source5-md5: 25b5bb6f3b2db5b876bd379bf3d79867
5656
URL: https://www.rust-lang.org/
5757
# for src/compiler-rt
5858
BuildRequires: cmake >= 3.4.3
@@ -68,8 +68,8 @@ BuildRequires: curl-devel
6868
BuildRequires: libgit2-devel >= 1.4.0
6969
BuildRequires: libstdc++-devel
7070
%if %{with system_llvm}
71-
BuildRequires: llvm >= 12.0
72-
BuildRequires: llvm-devel >= 12.0
71+
BuildRequires: llvm >= 13.0
72+
BuildRequires: llvm-devel >= 13.0
7373
%endif
7474
BuildRequires: openssl-devel >= 1.0.1
7575
BuildRequires: tar >= 1:1.22
@@ -91,7 +91,7 @@ BuildRequires: curl-devel
9191
BuildRequires: gcc-multilib-x32
9292
BuildRequires: libgit2-devel >= 1.4.0
9393
BuildRequires: libstdc++-devel
94-
%{?with_system_llvm:BuildRequires: llvm-devel >= 12.0}
94+
%{?with_system_llvm:BuildRequires: llvm-devel >= 13.0}
9595
BuildRequires: openssl-devel >= 1.0.1
9696
BuildRequires: xz-devel
9797
BuildRequires: zlib-devel
@@ -104,8 +104,8 @@ BuildRequires: libgit2-devel(x86-64) >= 1.4.0
104104
BuildRequires: libgit2-devel(x86-x32) >= 1.4.0
105105
BuildRequires: libstdc++-multilib-64-devel
106106
%if %{with system_llvm}
107-
BuildRequires: llvm-devel(x86-64) >= 12.0
108-
BuildRequires: llvm-devel(x86-x32) >= 12.0
107+
BuildRequires: llvm-devel(x86-64) >= 13.0
108+
BuildRequires: llvm-devel(x86-x32) >= 13.0
109109
%endif
110110
BuildRequires: openssl-devel(x86-64)
111111
BuildRequires: openssl-devel(x86-x32)
@@ -224,10 +224,11 @@ Standard library for Rust.
224224
Standardowa biblioteka Rusta.
225225

226226
%package analyzer
227-
Summary: Implementation of Language Server Protocol for Rust
228-
Summary(pl.UTF-8): Implementacja Language Server Protocol dla Rusta
229-
Group: Development/Tools
230-
Requires: %{name} = %{version}-%{release}
227+
Summary: Implementation of Language Server Protocol for Rust
228+
Summary(pl.UTF-8): Implementacja Language Server Protocol dla Rusta
229+
Group: Development/Tools
230+
Requires: %{name} = %{version}-%{release}
231+
Obsoletes: rust-rls < 1.65.0
231232

232233
%description analyzer
233234
Implementation of Language Server Protocol for Rust.
@@ -280,19 +281,6 @@ debugging of Rust programs.
280281
Ten pakiet zawiera skrypt rust-lldb, pozwalający na łatwiejsze
281282
odpluskwianie programów w języku Rust.
282283

283-
%package rls
284-
Summary: Rust Language Server for IDE integration
285-
Summary(pl.UTF-8): Rust Language Server do integracji z IDE
286-
Group: Development/Tools
287-
Requires: %{name} = %{version}-%{release}
288-
Requires: %{name}-analysis = %{version}-%{release}
289-
290-
%description rls
291-
Rust Language Server for IDE integration.
292-
293-
%description rls -l pl.UTF-8
294-
Rust Language Server do integracji z IDE.
295-
296284
%package doc
297285
Summary: Documentation for Rust
298286
Summary(pl.UTF-8): Dokumentacja do Rusta
@@ -556,10 +544,6 @@ done
556544
%attr(755,root,root) %{_bindir}/rust-gdbgui
557545
%{_datadir}/%{name}/etc/gdb_*.py*
558546

559-
%files rls
560-
%defattr(644,root,root,755)
561-
%attr(755,root,root) %{_bindir}/rls
562-
563547
%files doc
564548
%defattr(644,root,root,755)
565549
%dir %{_docdir}/%{name}

0 commit comments

Comments
 (0)