diff --git a/rust.spec b/rust.spec index bb1abdd4177445d6665001a7ea83922fdaa9f81f..472d90fb182b02ccbf1b7e65c564d8ccfbc54381 100644 --- a/rust.spec +++ b/rust.spec @@ -62,7 +62,7 @@ %bcond_without lldb Name: rust -Version: 1.68.1 +Version: 1.68.2 Release: %{anolis_release}%{?dist} Summary: The Rust Programming Language License: (ASL 2.0 or MIT) and (BSD and MIT) @@ -390,8 +390,7 @@ BuildRequires: git-core # Cargo is not much use without Rust Requires: %{name} -# "cargo vendor" is a builtin command starting with 1.37. The Obsoletes and -# Provides are mostly relevant to RHEL, but harmless to have on Fedora/etc. too +# "cargo vendor" is a builtin command starting with 1.37. Obsoletes: cargo-vendor <= 0.1.23 Provides: cargo-vendor = %{version}-%{release} @@ -651,7 +650,7 @@ end} --enable-verbose-tests \ --dist-compression-formats=gz \ --release-channel=%{channel} \ - --release-description="%{?fedora:Fedora }%{?rhel:Red Hat }%{version}-%{release}" + --release-description="Anolis %{anolis_ver} %{version}-%{release}" %{__python3} ./x.py build -j "$ncpus" %{__python3} ./x.py doc @@ -705,7 +704,6 @@ find %{buildroot}%{rustlibdir} -maxdepth 1 -type f -exec rm -v '{}' '+' # Remove backup files from %%configure munging find %{buildroot}%{rustlibdir} -type f -name '*.orig' -exec rm -v '{}' '+' -# https://fedoraproject.org/wiki/Changes/Make_ambiguous_python_shebangs_error # We don't actually need to ship any of those python scripts in rust-src anyway. find %{buildroot}%{rustlibdir}/src -type f -name '*.py' -exec rm -v '{}' '+' @@ -926,6 +924,9 @@ end} %{rpmmacrodir}/macros.rust-toolset %changelog +* Wed Mar 29 2023 Funda Wang - 1.68.2-1 +- New version 1.68.2 + * Fri Mar 24 2023 Funda Wang - 1.68.1-1 - New version 1.68.1 diff --git a/rustc-1.68.1-src.tar.xz b/rustc-1.68.2-src.tar.xz similarity index 88% rename from rustc-1.68.1-src.tar.xz rename to rustc-1.68.2-src.tar.xz index 1d602c10b9fa5cac63b3250ccfb0415f5ed8b8c6..0820ac571d1033de2ec830e5d7b7e228bcd73f3f 100644 Binary files a/rustc-1.68.1-src.tar.xz and b/rustc-1.68.2-src.tar.xz differ