- Update to version 1.80.0 - for details see the rust1.80 package

OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=351
This commit is contained in:
William Brown 2024-07-30 00:51:32 +00:00 committed by Git OBS Bridge
commit 561c62f887
6 changed files with 3839 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

1
README Normal file
View File

@ -0,0 +1 @@
This is a package that depends on the current latest rust for the distribution

4
rust-rpmlintrc Normal file
View File

@ -0,0 +1,4 @@
# We need to make these package arch dependent even if they have no binaries.
addFilter("no-binary")

3707
rust.changes Normal file

File diff suppressed because it is too large Load Diff

103
rust.spec Normal file
View File

@ -0,0 +1,103 @@
#
# spec file for package rust
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2021 William Brown <william@blackhats.net.au>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%global version_suffix 1.80
%global version_current 1.80.0
%define obsolete_rust_versioned() \
Obsoletes: %{1}1.79%{?2:-%{2}} \
Obsoletes: %{1}1.78%{?2:-%{2}} \
Obsoletes: %{1}1.77%{?2:-%{2}} \
Obsoletes: %{1}1.76%{?2:-%{2}} \
Obsoletes: %{1}1.75%{?2:-%{2}} \
Obsoletes: %{1}1.74%{?2:-%{2}} \
Obsoletes: %{1}1.73%{?2:-%{2}} \
Obsoletes: %{1}1.72%{?2:-%{2}} \
Obsoletes: %{1}1.71%{?2:-%{2}} \
Obsoletes: %{1}1.70%{?2:-%{2}} \
Obsoletes: %{1}1.69%{?2:-%{2}} \
Obsoletes: %{1}1.68%{?2:-%{2}} \
Obsoletes: %{1}1.67%{?2:-%{2}} \
Obsoletes: %{1}1.66%{?2:-%{2}} \
Obsoletes: %{1}1.65%{?2:-%{2}} \
Obsoletes: %{1}1.64%{?2:-%{2}} \
Obsoletes: %{1}1.63%{?2:-%{2}} \
Obsoletes: %{1}1.62%{?2:-%{2}}
# === rust arch support tiers ===
# https://doc.rust-lang.org/nightly/rustc/platform-support.html
# tl;dr only aarch64, x86_64 and i686 are guaranteed to work.
#
# armv6/7, s390x, ppc[64[le]], riscv are all "guaranteed to build" only
# but may not always work.
#
Name: rust
Version: %{version_current}
Release: 0
Summary: A systems programming language
License: Apache-2.0 OR MIT
Group: Development/Languages/Rust
URL: https://www.rust-lang.org
Source: README
Source99: %{name}-rpmlintrc
Requires: rust%{version_suffix}
%obsolete_rust_versioned rust
%description
Rust is a systems programming language focused on three goals: safety,
speed, and concurrency.
⚠️ This is the Rust toolchain intended for build pipelines. If you
want to install Rust for a development environment, you should install
'rustup' instead.
%package -n cargo
Summary: The Rust package manager
License: Apache-2.0 OR MIT
Group: Development/Languages/Rust
Requires: cargo%{version_suffix}
Requires: rust = %{version}
Provides: rust+cargo = %{version}
%obsolete_rust_versioned cargo
%description -n cargo
Cargo downloads dependencies of Rust projects and compiles it.
⚠️ This is the Rust toolchain intended for build pipelines. If you
want to install Rust for a development environment, you should install
'rustup' instead.
%prep
%build
%install
install -D -m 0644 %{S:0} %{buildroot}/usr/share/doc/packages/rust/README
install -D -m 0644 %{S:0} %{buildroot}/usr/share/doc/packages/cargo/README
%files
%defattr(-,root,root,-)
%doc /usr/share/doc/packages/rust
%files -n cargo
%defattr(-,root,root,-)
%doc /usr/share/doc/packages/cargo
%changelog