]> git.pld-linux.org Git - packages/rust.git/blobdiff - rust.spec
noarch zsh-completion-cargo
[packages/rust.git] / rust.spec
index 65d31bb1fa5dee3cc129bd2a3e4f16219a9b3c11..28e303992b72cca30a03725af926a50f31bb2a7f 100644 (file)
--- a/rust.spec
+++ b/rust.spec
@@ -21,9 +21,9 @@
 # To bootstrap from scratch, set the channel and date from src/stage0.json
 # e.g. 1.10.0 wants rustc: 1.9.0-2016-05-24
 # or nightly wants some beta-YYYY-MM-DD
-%define                bootstrap_rust  1.65.0
+%define                bootstrap_rust  1.67.1
 %define                bootstrap_cargo %{bootstrap_rust}
-%define                bootstrap_date  2022-11-03
+%define                bootstrap_date  2023-02-09
 
 %ifarch x32
 %define                with_cross      1
 Summary:       The Rust Programming Language
 Summary(pl.UTF-8):     Język programowania Rust
 Name:          rust
-Version:       1.66.0
+Version:       1.68.0
 Release:       1
 # Licenses: (rust itself) and (bundled libraries)
 License:       (Apache v2.0 or MIT) and (BSD and ISC and MIT)
 Group:         Development/Languages
 Source0:       https://static.rust-lang.org/dist/%{rustc_package}.tar.xz
-# Source0-md5: b519b711f36f1d2b4e23cd5c28bb16d1
+# Source0-md5: e0c4908ceb01945930da218d172a21ba
 Source1:       https://static.rust-lang.org/dist/%{bootstrap_date}/rust-%{bootstrap_rust}-x86_64-unknown-linux-gnu.tar.xz
-# Source1-md5: 74858f078f2e16ccf2a0b5ce2cb08557
+# Source1-md5: 800e693e0ac317755f8f0e19269540db
 Source2:       https://static.rust-lang.org/dist/%{bootstrap_date}/rust-%{bootstrap_rust}-i686-unknown-linux-gnu.tar.xz
-# Source2-md5: d5819e8f1fed42b8c4e7e996da7fba4f
+# Source2-md5: 65d86e2c17b1a09df55860a1d8dec9d4
 Source3:       https://static.rust-lang.org/dist/%{bootstrap_date}/rust-%{bootstrap_rust}-aarch64-unknown-linux-gnu.tar.xz
-# Source3-md5: 81f3f09ab36e7b800775024d277e27fd
+# Source3-md5: 127fdf3e824e23808a1fa6a8e92bcf56
 Source4:       https://static.rust-lang.org/dist/%{bootstrap_date}/rust-%{bootstrap_rust}-arm-unknown-linux-gnueabihf.tar.xz
-# Source4-md5: 7bf66e055741fddaf3f82efe6eeb83b7
+# Source4-md5: 70acb1412ca21e288105d86a7d5b975b
 Source5:       https://static.rust-lang.org/dist/%{bootstrap_date}/rust-%{bootstrap_rust}-armv7-unknown-linux-gnueabihf.tar.xz
-# Source5-md5: a4bbebeed5c0d2f79f362dd7d3619769
-Patch0:                no-install-miri.patch
+# Source5-md5: 1d917abdc484fd34c1471a931349a2c5
+Patch0:                llvm-tools-install.patch
 URL:           https://www.rust-lang.org/
 # for src/compiler-rt
 BuildRequires: cmake >= 3.4.3
 BuildRequires: curl
+%ifarch %{arm} %{mips32} %{ppc}
+BuildRequires: libatomic-devel
+%endif
 # make check needs "ps" for src/test/run-pass/wait-forked-but-failed-child.rs
 BuildRequires: procps
 BuildRequires: python3
@@ -316,6 +319,7 @@ Summary(pl.UTF-8):  Bashowe dopełnianie parametrów polecenia cargo
 Group:         Applications/Shells
 Requires:      %{name} = %{version}-%{release}
 Requires:      bash-completion
+BuildArch:     noarch
 
 %description -n bash-completion-cargo
 Bash completion for cargo command.
@@ -329,6 +333,7 @@ Summary(pl.UTF-8):  Dopełnianie parametrów polecenia cargo w powłoce Zsh
 Group:         Applications/Shells
 Requires:      %{name} = %{version}-%{release}
 Requires:      zsh
+BuildArch:     noarch
 
 %description -n zsh-completion-cargo
 Zsh completion for cargo command.
@@ -338,7 +343,7 @@ Dopełnianie parametrów polecenia cargo w powłoce Zsh.
 
 %prep
 %setup -q -n %{rustc_package}
-%patch0 -p1
+%patch0 -p1 -R
 
 %if %{with bootstrap}
 %ifarch %{x8664} x32
This page took 0.058006 seconds and 4 git commands to generate.