Accepting request 714305 from home:luke_nukem:branches:devel:languages:rust
- Remove fix-llvm8-build.patch, fixed upstream - Update to version 1.36.0 OBS-URL: https://build.opensuse.org/request/show/714305 OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=223
This commit is contained in:
committed by
Git OBS Bridge
parent
1d98fa19e2
commit
9850860e3c
15
rust.spec
15
rust.spec
@@ -17,9 +17,9 @@
|
||||
#
|
||||
|
||||
|
||||
%global version_current 1.35.0
|
||||
%global version_previous 1.34.0
|
||||
%global version_bootstrap 1.35.0
|
||||
%global version_current 1.36.0
|
||||
%global version_previous 1.35.0
|
||||
%global version_bootstrap 1.36.0
|
||||
# some sub-packages are versioned independantly
|
||||
%global rustfmt_version 1.0.3
|
||||
%global clippy_version 0.0.212
|
||||
@@ -107,8 +107,6 @@ Source107: %{dl_url}/rust-%{version_bootstrap}-s390x-unknown-linux-gnu.tar.
|
||||
Source108: %{dl_url}/rust-%{version_bootstrap}-powerpc-unknown-linux-gnu.tar.xz
|
||||
# PATCH-FIX-OPENSUSE: edit src/librustc_llvm/build.rs to ignore GCC incompatible flag
|
||||
Patch0: ignore-Wstring-conversion.patch
|
||||
# PATCH-FIX-UPSTREAM: gh#rust-lang/rust#60184
|
||||
Patch1: fix-llvm8-build.patch
|
||||
BuildRequires: ccache
|
||||
# Leap 42 to 42.3, SLE12 SP1, SP2
|
||||
%if 0%{?sle_version} >= 120000 && 0%{?sle_version} <= 120200
|
||||
@@ -277,9 +275,9 @@ A tool for formatting Rust code according to style guidelines.
|
||||
|
||||
%package -n clippy
|
||||
Summary: Lints to catch common mistakes and improve Rust code
|
||||
# /usr/bin/clippy-driver is dynamically linked against internal rustc libs
|
||||
License: MPL-2.0
|
||||
Group: Development/Languages/Rust
|
||||
# /usr/bin/clippy-driver is dynamically linked against internal rustc libs
|
||||
Requires: %{name} = %{version}
|
||||
Requires: cargo = %{version}
|
||||
Provides: clippy = %{clippy_version}
|
||||
@@ -301,10 +299,10 @@ Cargo downloads dependencies of Rust projects and compiles it.
|
||||
|
||||
%package -n cargo-doc
|
||||
Summary: Documentation for Cargo
|
||||
License: MIT OR Apache-2.0
|
||||
Group: Development/Languages/Rust
|
||||
# Cargo no longer builds its own documentation
|
||||
# https://github.com/rust-lang/cargo/pull/4904
|
||||
License: MIT OR Apache-2.0
|
||||
Group: Development/Languages/Rust
|
||||
Requires: rust-doc = %{version}
|
||||
BuildArch: noarch
|
||||
|
||||
@@ -352,7 +350,6 @@ This package includes HTML documentation for Cargo.
|
||||
%setup -q -n rustc-%{version}-src
|
||||
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
|
||||
# use python3
|
||||
sed -i -e "1s|#!.*|#!%{_bindir}/python3|" x.py
|
||||
|
Reference in New Issue
Block a user