Accepting request 606817 from home:luc14n0:branches:devel:languages:rust
Update to version 1.26.0 OBS-URL: https://build.opensuse.org/request/show/606817 OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=157
This commit is contained in:
15
rust.spec
15
rust.spec
@@ -17,8 +17,8 @@
|
||||
#
|
||||
|
||||
|
||||
%global prev_rust 1.24.1
|
||||
%global cargo_version 0.25.0
|
||||
%global prev_rust 1.25.0
|
||||
%global cargo_version 0.26.0
|
||||
%global rust_arch %{_arch}
|
||||
%global abi gnu
|
||||
%ifarch armv7hl
|
||||
@@ -45,12 +45,12 @@
|
||||
%global rustlibdir %{common_libdir}/rustlib
|
||||
%bcond_with rust_bootstrap
|
||||
Name: rust
|
||||
Version: 1.25.0
|
||||
Version: 1.26.0
|
||||
Release: 0
|
||||
Summary: A systems programming language
|
||||
License: MIT OR Apache-2.0
|
||||
Group: Development/Languages/Other
|
||||
Url: http://www.rust-lang.org
|
||||
URL: https://www.rust-lang.org
|
||||
Source0: %{dl_url}/rustc-%{version}-src.tar.gz
|
||||
Source1: config.toml
|
||||
Source99: %{name}-rpmlintrc
|
||||
@@ -76,8 +76,8 @@ BuildRequires: python3-base
|
||||
Recommends: %{name}-doc
|
||||
Recommends: %{name}-std
|
||||
Recommends: cargo
|
||||
Conflicts: rustc-bootstrap
|
||||
Conflicts: rust
|
||||
Conflicts: rustc-bootstrap
|
||||
# Restrict the architectures as building rust relies on being initially
|
||||
# bootstrapped before we can build the n+1 release
|
||||
ExclusiveArch: x86_64 %{arm} aarch64 ppc64 ppc64le s390x %{ix86}
|
||||
@@ -228,7 +228,6 @@ find %{buildroot}%{rustlibdir} -maxdepth 1 -type f -exec rm -v '{}' '+'
|
||||
find %{buildroot}%{rustlibdir} -maxdepth 1 -type f -name '*.so' -exec chmod -v +x '{}' '+'
|
||||
|
||||
# extract bundled licenses for packaging - From fedora spec
|
||||
cp src/rt/hoedown/LICENSE src/rt/hoedown/LICENSE-hoedown
|
||||
sed -e '/*\//q' src/libbacktrace/backtrace.h > src/libbacktrace/LICENSE-libbacktrace
|
||||
|
||||
# Remove the license files from _docdir: make install put duplicates there
|
||||
@@ -243,13 +242,11 @@ rm %{buildroot}%{_docdir}/%{name}/{README.md,COPYRIGHT,LICENSE-APACHE,LICENSE-MI
|
||||
%if 0%{?suse_version} == 1315
|
||||
%doc COPYRIGHT LICENSE-APACHE LICENSE-MIT
|
||||
%doc src/libbacktrace/LICENSE-libbacktrace
|
||||
%doc src/rt/hoedown/LICENSE-hoedown
|
||||
%else
|
||||
%license COPYRIGHT LICENSE-APACHE LICENSE-MIT
|
||||
%license src/libbacktrace/LICENSE-libbacktrace
|
||||
%license src/rt/hoedown/LICENSE-hoedown
|
||||
%endif
|
||||
%doc README.md
|
||||
%doc CONTRIBUTING.md README.md RELEASES.md
|
||||
%{_bindir}/rustc
|
||||
%{_bindir}/rustdoc
|
||||
%{_bindir}/rust-lldb
|
||||
|
Reference in New Issue
Block a user