|
|
|
@ -1,6 +1,16 @@
|
|
|
|
|
## START: Set by rpmautospec
|
|
|
|
|
## (rpmautospec version 0.6.5)
|
|
|
|
|
## RPMAUTOSPEC: autorelease, autochangelog
|
|
|
|
|
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
|
|
|
|
|
release_number = 3;
|
|
|
|
|
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
|
|
|
|
|
print(release_number + base_release_number - 1);
|
|
|
|
|
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
|
|
|
|
|
## END: Set by rpmautospec
|
|
|
|
|
|
|
|
|
|
Name: rust
|
|
|
|
|
Version: 1.76.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Version: 1.79.0
|
|
|
|
|
Release: %autorelease
|
|
|
|
|
Summary: The Rust Programming Language
|
|
|
|
|
License: (Apache-2.0 OR MIT) AND (Artistic-2.0 AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0 AND Unicode-DFS-2016)
|
|
|
|
|
# ^ written as: (rust itself) and (bundled libraries)
|
|
|
|
@ -8,15 +18,15 @@ URL: https://www.rust-lang.org
|
|
|
|
|
|
|
|
|
|
# Only x86_64, i686, and aarch64 are Tier 1 platforms at this time.
|
|
|
|
|
# https://doc.rust-lang.org/nightly/rustc/platform-support.html
|
|
|
|
|
%global rust_arches x86_64 i686 aarch64 ppc64le s390x
|
|
|
|
|
%global rust_arches x86_64 i686 armv7hl aarch64 ppc64le s390x riscv64
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
|
|
# To bootstrap from scratch, set the channel and date from src/stage0.json
|
|
|
|
|
# e.g. 1.59.0 wants rustc: 1.58.0-2022-01-13
|
|
|
|
|
# or nightly wants some beta-YYYY-MM-DD
|
|
|
|
|
%global bootstrap_version 1.75.0
|
|
|
|
|
%global bootstrap_channel 1.75.0
|
|
|
|
|
%global bootstrap_date 2023-12-28
|
|
|
|
|
%global bootstrap_version 1.78.0
|
|
|
|
|
%global bootstrap_channel 1.78.0
|
|
|
|
|
%global bootstrap_date 2024-05-02
|
|
|
|
|
|
|
|
|
|
# Only the specified arches will use bootstrap binaries.
|
|
|
|
|
# NOTE: Those binaries used to be uploaded with every new release, but that was
|
|
|
|
@ -32,10 +42,20 @@ ExclusiveArch: %{rust_arches}
|
|
|
|
|
%if 0%{?fedora}
|
|
|
|
|
%global mingw_targets i686-pc-windows-gnu x86_64-pc-windows-gnu
|
|
|
|
|
%endif
|
|
|
|
|
%global wasm_targets wasm32-unknown-unknown wasm32-wasi
|
|
|
|
|
%if 0%{?fedora} || 0%{?rhel} >= 10
|
|
|
|
|
# NB: wasm32-wasi is being gradually replaced by wasm32-wasip1
|
|
|
|
|
# https://blog.rust-lang.org/2024/04/09/updates-to-rusts-wasi-targets.html
|
|
|
|
|
%global wasm_targets wasm32-unknown-unknown wasm32-wasi wasm32-wasip1
|
|
|
|
|
%if 0%{?fedora}
|
|
|
|
|
%global extra_targets x86_64-unknown-none x86_64-unknown-uefi
|
|
|
|
|
%endif
|
|
|
|
|
%if 0%{?rhel} >= 10
|
|
|
|
|
%global extra_targets x86_64-unknown-none
|
|
|
|
|
%endif
|
|
|
|
|
%endif
|
|
|
|
|
%ifarch aarch64
|
|
|
|
|
%if 0%{?fedora}
|
|
|
|
|
%global extra_targets aarch64-unknown-none-softfloat
|
|
|
|
|
%endif
|
|
|
|
|
%endif
|
|
|
|
|
%global all_targets %{?mingw_targets} %{?wasm_targets} %{?extra_targets}
|
|
|
|
|
%define target_enabled() %{lua:
|
|
|
|
@ -45,8 +65,7 @@ ExclusiveArch: %{rust_arches}
|
|
|
|
|
# We need CRT files for *-wasi targets, at least as new as the commit in
|
|
|
|
|
# src/ci/docker/host-x86_64/dist-various-2/build-wasi-toolchain.sh
|
|
|
|
|
%global wasi_libc_url https://github.com/WebAssembly/wasi-libc
|
|
|
|
|
#global wasi_libc_ref wasi-sdk-21
|
|
|
|
|
%global wasi_libc_ref 03b228e46bb02fcc5927253e1b8ad715072b1ae4
|
|
|
|
|
%global wasi_libc_ref wasi-sdk-22
|
|
|
|
|
%global wasi_libc_name wasi-libc-%{wasi_libc_ref}
|
|
|
|
|
%global wasi_libc_source %{wasi_libc_url}/archive/%{wasi_libc_ref}/%{wasi_libc_name}.tar.gz
|
|
|
|
|
%global wasi_libc_dir %{_builddir}/%{wasi_libc_name}
|
|
|
|
@ -60,22 +79,33 @@ ExclusiveArch: %{rust_arches}
|
|
|
|
|
%bcond_with llvm_static
|
|
|
|
|
|
|
|
|
|
# We can also choose to just use Rust's bundled LLVM, in case the system LLVM
|
|
|
|
|
# is insufficient. Rust currently requires LLVM 15.0+.
|
|
|
|
|
%global min_llvm_version 15.0.0
|
|
|
|
|
%global bundled_llvm_version 17.0.6
|
|
|
|
|
# is insufficient. Rust currently requires LLVM 17.0+.
|
|
|
|
|
%global min_llvm_version 17.0.0
|
|
|
|
|
%global bundled_llvm_version 18.1.7
|
|
|
|
|
#global llvm_compat_version 17
|
|
|
|
|
%global llvm llvm%{?llvm_compat_version}
|
|
|
|
|
%bcond_with bundled_llvm
|
|
|
|
|
|
|
|
|
|
# Requires stable libgit2 1.7, and not the next minor soname change.
|
|
|
|
|
# This needs to be consistent with the bindings in vendor/libgit2-sys.
|
|
|
|
|
%global min_libgit2_version 1.7.1
|
|
|
|
|
%global min_libgit2_version 1.7.2
|
|
|
|
|
%global next_libgit2_version 1.8.0~
|
|
|
|
|
%global bundled_libgit2_version 1.7.1
|
|
|
|
|
%global bundled_libgit2_version 1.7.2
|
|
|
|
|
%if 0%{?fedora} >= 39
|
|
|
|
|
%bcond_with bundled_libgit2
|
|
|
|
|
%else
|
|
|
|
|
%bcond_without bundled_libgit2
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
# Cargo uses UPSERTs with omitted conflict targets
|
|
|
|
|
%global min_sqlite3_version 3.35
|
|
|
|
|
%global bundled_sqlite3_version 3.45.0
|
|
|
|
|
%if 0%{?rhel} && 0%{?rhel} < 10
|
|
|
|
|
%bcond_without bundled_sqlite3
|
|
|
|
|
%else
|
|
|
|
|
%bcond_with bundled_sqlite3
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%if 0%{?rhel}
|
|
|
|
|
# Disable cargo->libgit2->libssh2 on RHEL, as it's not approved for FIPS (rhbz1732949)
|
|
|
|
|
%bcond_without disabled_libssh2
|
|
|
|
@ -83,9 +113,20 @@ ExclusiveArch: %{rust_arches}
|
|
|
|
|
%bcond_with disabled_libssh2
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%if 0%{?__isa_bits} == 32
|
|
|
|
|
# Reduce rustc's own debuginfo and optimizations to conserve 32-bit memory.
|
|
|
|
|
# e.g. https://github.com/rust-lang/rust/issues/45854
|
|
|
|
|
%global reduced_debuginfo 0
|
|
|
|
|
%if 0%{?__isa_bits} == 32
|
|
|
|
|
%global reduced_debuginfo 1
|
|
|
|
|
%endif
|
|
|
|
|
# Also on current riscv64 hardware, although future hardware will be
|
|
|
|
|
# able to handle it.
|
|
|
|
|
# e.g. http://fedora.riscv.rocks/koji/buildinfo?buildID=249870
|
|
|
|
|
%ifarch riscv64
|
|
|
|
|
%global reduced_debuginfo 1
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%if 0%{?reduced_debuginfo}
|
|
|
|
|
%global enable_debuginfo --debuginfo-level=0 --debuginfo-level-std=2
|
|
|
|
|
%global enable_rust_opts --set rust.codegen-units-std=1
|
|
|
|
|
%bcond_with rustc_pgo
|
|
|
|
@ -124,17 +165,27 @@ Patch4: 0001-bootstrap-allow-disabling-target-self-contained.patch
|
|
|
|
|
Patch5: 0002-set-an-external-library-path-for-wasm32-wasi.patch
|
|
|
|
|
|
|
|
|
|
# We don't want to use the bundled library in libsqlite3-sys
|
|
|
|
|
Patch6: rustc-1.76.0-unbundle-sqlite.patch
|
|
|
|
|
Patch6: rustc-1.79.0-unbundle-sqlite.patch
|
|
|
|
|
|
|
|
|
|
# https://github.com/rust-lang/rust/pull/124597
|
|
|
|
|
Patch7: 0001-Use-an-explicit-x86-64-cpu-in-tests-that-are-sensiti.patch
|
|
|
|
|
|
|
|
|
|
# Fix codegen test failure on big endian: https://github.com/rust-lang/rust/pull/126263
|
|
|
|
|
Patch8: 0001-Make-issue-122805.rs-big-endian-compatible.patch
|
|
|
|
|
|
|
|
|
|
# https://github.com/rust-lang/rust/pull/128271
|
|
|
|
|
Patch9: 0001-Disable-jump-threading-of-float-equality.patch
|
|
|
|
|
|
|
|
|
|
### RHEL-specific patches below ###
|
|
|
|
|
|
|
|
|
|
# Simple rpm macros for rust-toolset (as opposed to full rust-packaging)
|
|
|
|
|
Source100: macros.rust-toolset
|
|
|
|
|
Source101: cargo_vendor.attr
|
|
|
|
|
Source102: cargo_vendor.prov
|
|
|
|
|
Source101: macros.rust-srpm
|
|
|
|
|
Source102: cargo_vendor.attr
|
|
|
|
|
Source103: cargo_vendor.prov
|
|
|
|
|
|
|
|
|
|
# Disable cargo->libgit2->libssh2 on RHEL, as it's not approved for FIPS (rhbz1732949)
|
|
|
|
|
Patch100: rustc-1.76.0-disable-libssh2.patch
|
|
|
|
|
Patch100: rustc-1.79.0-disable-libssh2.patch
|
|
|
|
|
|
|
|
|
|
# Get the Rust triple for any arch.
|
|
|
|
|
%{lua: function rust_triple(arch)
|
|
|
|
@ -204,13 +255,16 @@ BuildRequires: curl-devel
|
|
|
|
|
BuildRequires: pkgconfig(libcurl)
|
|
|
|
|
BuildRequires: pkgconfig(liblzma)
|
|
|
|
|
BuildRequires: pkgconfig(openssl)
|
|
|
|
|
BuildRequires: pkgconfig(sqlite3)
|
|
|
|
|
BuildRequires: pkgconfig(zlib)
|
|
|
|
|
|
|
|
|
|
%if %{without bundled_libgit2}
|
|
|
|
|
BuildRequires: (pkgconfig(libgit2) >= %{min_libgit2_version} with pkgconfig(libgit2) < %{next_libgit2_version})
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%if %{without bundled_sqlite3}
|
|
|
|
|
BuildRequires: pkgconfig(sqlite3) >= %{min_sqlite3_version}
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%if %{without disabled_libssh2}
|
|
|
|
|
BuildRequires: pkgconfig(libssh2)
|
|
|
|
|
%endif
|
|
|
|
@ -228,10 +282,9 @@ BuildRequires: ninja-build
|
|
|
|
|
Provides: bundled(llvm) = %{bundled_llvm_version}
|
|
|
|
|
%else
|
|
|
|
|
BuildRequires: cmake >= 3.5.1
|
|
|
|
|
%if %defined llvm
|
|
|
|
|
%if %defined llvm_compat_version
|
|
|
|
|
%global llvm_root %{_libdir}/%{llvm}
|
|
|
|
|
%else
|
|
|
|
|
%global llvm llvm
|
|
|
|
|
%global llvm_root %{_prefix}
|
|
|
|
|
%endif
|
|
|
|
|
BuildRequires: %{llvm}-devel >= %{min_llvm_version}
|
|
|
|
@ -246,10 +299,17 @@ BuildRequires: procps-ng
|
|
|
|
|
|
|
|
|
|
# debuginfo-gdb tests need gdb
|
|
|
|
|
BuildRequires: gdb
|
|
|
|
|
# Work around https://bugzilla.redhat.com/show_bug.cgi?id=2275274:
|
|
|
|
|
# gdb currently prints a "Unable to load 'rpm' module. Please install the python3-rpm package."
|
|
|
|
|
# message that breaks version detection.
|
|
|
|
|
BuildRequires: python3-rpm
|
|
|
|
|
|
|
|
|
|
# For src/test/run-make/static-pie
|
|
|
|
|
BuildRequires: glibc-static
|
|
|
|
|
|
|
|
|
|
# For tests/run-make/pgo-branch-weights
|
|
|
|
|
BuildRequires: binutils-gold
|
|
|
|
|
|
|
|
|
|
# Virtual provides for folks who attempt "dnf install rustc"
|
|
|
|
|
Provides: rustc = %{version}-%{release}
|
|
|
|
|
Provides: rustc%{?_isa} = %{version}-%{release}
|
|
|
|
@ -276,6 +336,14 @@ Requires: /usr/bin/cc
|
|
|
|
|
# support custom-derive plugins like #[proc_macro_derive(Foo)].
|
|
|
|
|
%global _find_debuginfo_opts --keep-section .rustc
|
|
|
|
|
|
|
|
|
|
# The standard library rlibs are essentially static archives, but we don't want
|
|
|
|
|
# to strip them because that impairs the debuginfo of all Rust programs.
|
|
|
|
|
# It also had a tendency to break the cross-compiled libraries:
|
|
|
|
|
# - wasm targets lost the archive index, which we were repairing with llvm-ranlib
|
|
|
|
|
# - uefi targets couldn't link builtins like memcpy, possibly due to lost COMDAT flags
|
|
|
|
|
%global __brp_strip_static_archive %{nil}
|
|
|
|
|
%global __brp_strip_lto %{nil}
|
|
|
|
|
|
|
|
|
|
%if %{without bundled_llvm}
|
|
|
|
|
%if "%{llvm_root}" == "%{_prefix}" || 0%{?scl:1}
|
|
|
|
|
%global llvm_has_filecheck 1
|
|
|
|
@ -305,15 +373,10 @@ BuildRequires: clang
|
|
|
|
|
BuildRequires: wasi-libc-static
|
|
|
|
|
%endif
|
|
|
|
|
BuildRequires: lld
|
|
|
|
|
# brp-strip-static-archive breaks the archive index for wasm
|
|
|
|
|
%global __os_install_post \
|
|
|
|
|
%__os_install_post \
|
|
|
|
|
find '%{buildroot}%{rustlibdir}'/wasm*/lib -type f -regex '.*\\.\\(a\\|rlib\\)' -print -exec '%{llvm_root}/bin/llvm-ranlib' '{}' ';' \
|
|
|
|
|
%{nil}
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
# For profiler_builtins
|
|
|
|
|
BuildRequires: compiler-rt
|
|
|
|
|
BuildRequires: compiler-rt%{?llvm_compat_version}
|
|
|
|
|
|
|
|
|
|
# This component was removed as of Rust 1.69.0.
|
|
|
|
|
# https://github.com/rust-lang/rust/pull/101841
|
|
|
|
@ -387,6 +450,18 @@ BuildArch: noarch
|
|
|
|
|
%target_description wasm32-wasi WebAssembly
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%if %target_enabled wasm32-wasip1
|
|
|
|
|
%target_package wasm32-wasip1
|
|
|
|
|
Requires: lld >= 8.0
|
|
|
|
|
%if %with bundled_wasi_libc
|
|
|
|
|
Provides: bundled(wasi-libc)
|
|
|
|
|
%else
|
|
|
|
|
Requires: wasi-libc-static
|
|
|
|
|
%endif
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
%target_description wasm32-wasip1 WebAssembly
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%if %target_enabled x86_64-unknown-none
|
|
|
|
|
%target_package x86_64-unknown-none
|
|
|
|
|
Requires: lld
|
|
|
|
@ -399,6 +474,12 @@ Requires: lld
|
|
|
|
|
%target_description x86_64-unknown-uefi embedded
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%if %target_enabled aarch64-unknown-none-softfloat
|
|
|
|
|
%target_package aarch64-unknown-none-softfloat
|
|
|
|
|
Requires: lld
|
|
|
|
|
%target_description aarch64-unknown-none-softfloat embedded
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package debugger-common
|
|
|
|
|
Summary: Common debugger pretty printers for Rust
|
|
|
|
@ -454,6 +535,9 @@ Summary: Rust's package manager and build tool
|
|
|
|
|
%if %with bundled_libgit2
|
|
|
|
|
Provides: bundled(libgit2) = %{bundled_libgit2_version}
|
|
|
|
|
%endif
|
|
|
|
|
%if %with bundled_sqlite3
|
|
|
|
|
Provides: bundled(sqlite) = %{bundled_sqlite3_version}
|
|
|
|
|
%endif
|
|
|
|
|
# For tests:
|
|
|
|
|
BuildRequires: git-core
|
|
|
|
|
# Cargo is not much use without Rust
|
|
|
|
@ -528,11 +612,25 @@ useful as a reference for code completion tools in various editors.
|
|
|
|
|
|
|
|
|
|
%if 0%{?rhel}
|
|
|
|
|
|
|
|
|
|
%package toolset-srpm-macros
|
|
|
|
|
Summary: RPM macros for building Rust source packages
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
# This used to be from its own source package, versioned like rust2rpm.
|
|
|
|
|
Obsoletes: rust-srpm-macros < 18~
|
|
|
|
|
Provides: rust-srpm-macros = 25.2
|
|
|
|
|
|
|
|
|
|
%description toolset-srpm-macros
|
|
|
|
|
RPM macros for building source packages for Rust projects.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package toolset
|
|
|
|
|
Summary: Rust Toolset
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
Requires: rust = %{version}-%{release}
|
|
|
|
|
Requires: cargo = %{version}-%{release}
|
|
|
|
|
Requires: rust-toolset-srpm-macros = %{version}-%{release}
|
|
|
|
|
Conflicts: cargo-rpm-macros
|
|
|
|
|
|
|
|
|
|
%description toolset
|
|
|
|
|
This is the metapackage for Rust Toolset, bringing in the Rust compiler,
|
|
|
|
@ -569,7 +667,12 @@ rm -rf %{wasi_libc_dir}/dlmalloc/
|
|
|
|
|
%if %without bundled_wasi_libc
|
|
|
|
|
%patch -P5 -p1
|
|
|
|
|
%endif
|
|
|
|
|
%if %without bundled_sqlite3
|
|
|
|
|
%patch -P6 -p1
|
|
|
|
|
%endif
|
|
|
|
|
%patch -P7 -p1
|
|
|
|
|
%patch -P8 -p1
|
|
|
|
|
%patch -P9 -p1
|
|
|
|
|
|
|
|
|
|
%if %with disabled_libssh2
|
|
|
|
|
%patch -P100 -p1
|
|
|
|
@ -594,7 +697,7 @@ mkdir -p src/llvm-project/libunwind/
|
|
|
|
|
%clear_dir vendor/*jemalloc-sys*/jemalloc/
|
|
|
|
|
%clear_dir vendor/libffi-sys*/libffi/
|
|
|
|
|
%clear_dir vendor/libmimalloc-sys*/c_src/mimalloc/
|
|
|
|
|
%clear_dir vendor/libsqlite3-sys*/{sqlite3,sqlcipher}/
|
|
|
|
|
%clear_dir vendor/libsqlite3-sys*/sqlcipher/
|
|
|
|
|
%clear_dir vendor/libssh2-sys*/libssh2/
|
|
|
|
|
%clear_dir vendor/libz-sys*/src/zlib{,-ng}/
|
|
|
|
|
%clear_dir vendor/lzma-sys*/xz-*/
|
|
|
|
@ -604,6 +707,10 @@ mkdir -p src/llvm-project/libunwind/
|
|
|
|
|
%clear_dir vendor/libgit2-sys*/libgit2/
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%if %without bundled_sqlite3
|
|
|
|
|
%clear_dir vendor/libsqlite3-sys*/sqlite3/
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%if %with disabled_libssh2
|
|
|
|
|
rm -rf vendor/libssh2-sys*/
|
|
|
|
|
%endif
|
|
|
|
@ -652,7 +759,7 @@ end}
|
|
|
|
|
%global rust_env %{shrink:
|
|
|
|
|
%{?rustflags:RUSTFLAGS="%{rustflags}"}
|
|
|
|
|
%{rustc_target_cpus}
|
|
|
|
|
LIBSQLITE3_SYS_USE_PKG_CONFIG=1
|
|
|
|
|
%{!?with_bundled_sqlite3:LIBSQLITE3_SYS_USE_PKG_CONFIG=1}
|
|
|
|
|
%{!?with_disabled_libssh2:LIBSSH2_SYS_USE_PKG_CONFIG=1}
|
|
|
|
|
}
|
|
|
|
|
%global export_rust_env export %{rust_env}
|
|
|
|
@ -685,26 +792,39 @@ fi
|
|
|
|
|
|
|
|
|
|
%if %defined wasm_targets
|
|
|
|
|
%if %with bundled_wasi_libc
|
|
|
|
|
%make_build --quiet -C %{wasi_libc_dir} MALLOC_IMPL=emmalloc CC=clang AR=llvm-ar NM=llvm-nm
|
|
|
|
|
%define wasm_target_config --set target.wasm32-wasi.wasi-root=%{wasi_libc_dir}/sysroot
|
|
|
|
|
%define wasi_libc_flags MALLOC_IMPL=emmalloc CC=clang AR=llvm-ar NM=llvm-nm
|
|
|
|
|
%make_build --quiet -C %{wasi_libc_dir} %{wasi_libc_flags} TARGET_TRIPLE=wasm32-wasi
|
|
|
|
|
%make_build --quiet -C %{wasi_libc_dir} %{wasi_libc_flags} TARGET_TRIPLE=wasm32-wasip1
|
|
|
|
|
%define wasm_target_config %{shrink:
|
|
|
|
|
--set target.wasm32-wasi.wasi-root=%{wasi_libc_dir}/sysroot
|
|
|
|
|
--set target.wasm32-wasip1.wasi-root=%{wasi_libc_dir}/sysroot
|
|
|
|
|
}
|
|
|
|
|
%else
|
|
|
|
|
%define wasm_target_config %{shrink:
|
|
|
|
|
--set target.wasm32-wasi.wasi-root=%{_prefix}/wasm32-wasi
|
|
|
|
|
--set target.wasm32-wasi.self-contained=false
|
|
|
|
|
--set target.wasm32-wasip1.wasi-root=%{_prefix}/wasm32-wasi
|
|
|
|
|
--set target.wasm32-wasip1.self-contained=false
|
|
|
|
|
}
|
|
|
|
|
%endif
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
# Find the compiler-rt library for the Rust profiler_builtins crate.
|
|
|
|
|
%if %defined llvm_compat_version
|
|
|
|
|
# clang_resource_dir is not defined for compat builds.
|
|
|
|
|
%define profiler /usr/lib/clang/%{llvm_compat_version}/lib/%{_arch}-redhat-linux-gnu/libclang_rt.profile.a
|
|
|
|
|
%else
|
|
|
|
|
%if 0%{?clang_major_version} >= 17
|
|
|
|
|
%define profiler %{clang_resource_dir}/lib/%{_arch}-redhat-linux-gnu/libclang_rt.profile.a
|
|
|
|
|
%else
|
|
|
|
|
# The exact profiler path is version dependent..
|
|
|
|
|
%define profiler %(echo %{_libdir}/clang/??/lib/libclang_rt.profile-*.a)
|
|
|
|
|
%endif
|
|
|
|
|
%endif
|
|
|
|
|
test -r "%{profiler}"
|
|
|
|
|
|
|
|
|
|
%configure --disable-option-checking \
|
|
|
|
|
--docdir=%{_pkgdocdir} \
|
|
|
|
|
--libdir=%{common_libdir} \
|
|
|
|
|
--build=%{rust_triple} --host=%{rust_triple} --target=%{rust_triple} \
|
|
|
|
|
--set target.%{rust_triple}.linker=%{__cc} \
|
|
|
|
@ -729,40 +849,41 @@ test -r "%{profiler}"
|
|
|
|
|
--set build.doc-stage=2 \
|
|
|
|
|
--set build.install-stage=2 \
|
|
|
|
|
--set build.test-stage=2 \
|
|
|
|
|
--set build.optimized-compiler-builtins=false \
|
|
|
|
|
--enable-extended \
|
|
|
|
|
--tools=cargo,clippy,rls,rust-analyzer,rustfmt,src \
|
|
|
|
|
--enable-vendor \
|
|
|
|
|
--enable-verbose-tests \
|
|
|
|
|
--dist-compression-formats=gz \
|
|
|
|
|
--release-channel=%{channel} \
|
|
|
|
|
--release-description="%{?fedora:Fedora }%{?rhel:Red Hat }%{version}-%{release}"
|
|
|
|
|
|
|
|
|
|
%global __x %{__python3} ./x.py
|
|
|
|
|
%global __xk %{__x} --keep-stage=0 --keep-stage=1
|
|
|
|
|
|
|
|
|
|
%if %with rustc_pgo
|
|
|
|
|
# Build the compiler with profile instrumentation
|
|
|
|
|
PROFRAW="$PWD/build/profiles"
|
|
|
|
|
PROFDATA="$PWD/build/rustc.profdata"
|
|
|
|
|
mkdir -p "$PROFRAW"
|
|
|
|
|
%{__x} build -j "$ncpus" sysroot --rust-profile-generate="$PROFRAW"
|
|
|
|
|
%define profraw $PWD/build/profiles
|
|
|
|
|
%define profdata $PWD/build/rustc.profdata
|
|
|
|
|
mkdir -p "%{profraw}"
|
|
|
|
|
%{__x} build -j "$ncpus" sysroot --rust-profile-generate="%{profraw}"
|
|
|
|
|
# Build cargo as a workload to generate compiler profiles
|
|
|
|
|
env LLVM_PROFILE_FILE="$PROFRAW/default_%%m_%%p.profraw" %{__xk} build cargo
|
|
|
|
|
llvm-profdata merge -o "$PROFDATA" "$PROFRAW"
|
|
|
|
|
rm -r "$PROFRAW" build/%{rust_triple}/stage2*/
|
|
|
|
|
# Rebuild the compiler using the profile data
|
|
|
|
|
%{__x} build -j "$ncpus" sysroot --rust-profile-use="$PROFDATA"
|
|
|
|
|
%else
|
|
|
|
|
# Build the compiler without PGO
|
|
|
|
|
%{__x} build -j "$ncpus" sysroot
|
|
|
|
|
env LLVM_PROFILE_FILE="%{profraw}/default_%%m_%%p.profraw" \
|
|
|
|
|
%{__x} --keep-stage=0 --keep-stage=1 build cargo
|
|
|
|
|
# Finalize the profile data and clean up the raw files
|
|
|
|
|
%{llvm_root}/bin/llvm-profdata merge -o "%{profdata}" "%{profraw}"
|
|
|
|
|
rm -r "%{profraw}" build/%{rust_triple}/stage2*/
|
|
|
|
|
# Redefine the macro to use that profile data from now on
|
|
|
|
|
%global __x %{__x} --rust-profile-use="%{profdata}"
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
# Build the compiler normally (with or without PGO)
|
|
|
|
|
%{__x} build -j "$ncpus" sysroot
|
|
|
|
|
|
|
|
|
|
# Build everything else normally
|
|
|
|
|
%{__xk} build
|
|
|
|
|
%{__xk} doc
|
|
|
|
|
%{__x} build
|
|
|
|
|
%{__x} doc
|
|
|
|
|
|
|
|
|
|
for triple in %{?all_targets} ; do
|
|
|
|
|
%{__xk} build --target=$triple std
|
|
|
|
|
%{__x} build --target=$triple std
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
@ -771,10 +892,10 @@ done
|
|
|
|
|
%endif
|
|
|
|
|
%{export_rust_env}
|
|
|
|
|
|
|
|
|
|
DESTDIR=%{buildroot} %{__xk} install
|
|
|
|
|
DESTDIR=%{buildroot} %{__x} install
|
|
|
|
|
|
|
|
|
|
for triple in %{?all_targets} ; do
|
|
|
|
|
DESTDIR=%{buildroot} %{__xk} install --target=$triple std
|
|
|
|
|
DESTDIR=%{buildroot} %{__x} install --target=$triple std
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
# The rls stub doesn't have an install target, but we can just copy it.
|
|
|
|
@ -820,21 +941,18 @@ find %{buildroot}%{rustlibdir} -type f -name '*.orig' -exec rm -v '{}' '+'
|
|
|
|
|
# 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 '{}' '+'
|
|
|
|
|
|
|
|
|
|
# FIXME: __os_install_post will strip the rlibs
|
|
|
|
|
# -- should we find a way to preserve debuginfo?
|
|
|
|
|
|
|
|
|
|
# Remove unwanted documentation files (we already package them)
|
|
|
|
|
rm -f %{buildroot}%{_docdir}/%{name}/README.md
|
|
|
|
|
rm -f %{buildroot}%{_docdir}/%{name}/COPYRIGHT
|
|
|
|
|
rm -f %{buildroot}%{_docdir}/%{name}/LICENSE
|
|
|
|
|
rm -f %{buildroot}%{_docdir}/%{name}/LICENSE-APACHE
|
|
|
|
|
rm -f %{buildroot}%{_docdir}/%{name}/LICENSE-MIT
|
|
|
|
|
rm -f %{buildroot}%{_docdir}/%{name}/LICENSE-THIRD-PARTY
|
|
|
|
|
rm -f %{buildroot}%{_docdir}/%{name}/*.old
|
|
|
|
|
rm -f %{buildroot}%{_pkgdocdir}/README.md
|
|
|
|
|
rm -f %{buildroot}%{_pkgdocdir}/COPYRIGHT
|
|
|
|
|
rm -f %{buildroot}%{_pkgdocdir}/LICENSE
|
|
|
|
|
rm -f %{buildroot}%{_pkgdocdir}/LICENSE-APACHE
|
|
|
|
|
rm -f %{buildroot}%{_pkgdocdir}/LICENSE-MIT
|
|
|
|
|
rm -f %{buildroot}%{_pkgdocdir}/LICENSE-THIRD-PARTY
|
|
|
|
|
rm -f %{buildroot}%{_pkgdocdir}/*.old
|
|
|
|
|
|
|
|
|
|
# Sanitize the HTML documentation
|
|
|
|
|
find %{buildroot}%{_docdir}/%{name}/html -empty -delete
|
|
|
|
|
find %{buildroot}%{_docdir}/%{name}/html -type f -exec chmod -x '{}' '+'
|
|
|
|
|
find %{buildroot}%{_pkgdocdir}/html -empty -delete
|
|
|
|
|
find %{buildroot}%{_pkgdocdir}/html -type f -exec chmod -x '{}' '+'
|
|
|
|
|
|
|
|
|
|
# Create the path for crate-devel packages
|
|
|
|
|
mkdir -p %{buildroot}%{_datadir}/cargo/registry
|
|
|
|
@ -850,8 +968,9 @@ rm -f %{buildroot}%{rustlibdir}/%{rust_triple}/bin/rust-ll*
|
|
|
|
|
%if 0%{?rhel}
|
|
|
|
|
# This allows users to build packages using Rust Toolset.
|
|
|
|
|
%{__install} -D -m 644 %{S:100} %{buildroot}%{rpmmacrodir}/macros.rust-toolset
|
|
|
|
|
%{__install} -D -m 644 %{S:101} %{buildroot}%{_fileattrsdir}/cargo_vendor.attr
|
|
|
|
|
%{__install} -D -m 755 %{S:102} %{buildroot}%{_rpmconfigdir}/cargo_vendor.prov
|
|
|
|
|
%{__install} -D -m 644 %{S:101} %{buildroot}%{rpmmacrodir}/macros.rust-srpm
|
|
|
|
|
%{__install} -D -m 644 %{S:102} %{buildroot}%{_fileattrsdir}/cargo_vendor.attr
|
|
|
|
|
%{__install} -D -m 755 %{S:103} %{buildroot}%{_rpmconfigdir}/cargo_vendor.prov
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -886,17 +1005,21 @@ rm -rf "$TMP_HELLO"
|
|
|
|
|
|
|
|
|
|
# Bootstrap is excluded because it's not something we ship, and a lot of its
|
|
|
|
|
# tests are geared toward the upstream CI environment.
|
|
|
|
|
%{__xk} test --no-fail-fast --skip src/bootstrap || :
|
|
|
|
|
%{__x} test --no-fail-fast --skip src/bootstrap || :
|
|
|
|
|
rm -rf "./build/%{rust_triple}/test/"
|
|
|
|
|
|
|
|
|
|
%{__xk} test --no-fail-fast cargo || :
|
|
|
|
|
%ifarch aarch64
|
|
|
|
|
# https://github.com/rust-lang/rust/issues/123733
|
|
|
|
|
%define cargo_test_skip --test-args "--skip panic_abort_doc_tests"
|
|
|
|
|
%endif
|
|
|
|
|
%{__x} test --no-fail-fast cargo %{?cargo_test_skip} || :
|
|
|
|
|
rm -rf "./build/%{rust_triple}/stage2-tools/%{rust_triple}/cit/"
|
|
|
|
|
|
|
|
|
|
%{__xk} test --no-fail-fast clippy || :
|
|
|
|
|
%{__x} test --no-fail-fast clippy || :
|
|
|
|
|
|
|
|
|
|
%{__xk} test --no-fail-fast rust-analyzer || :
|
|
|
|
|
%{__x} test --no-fail-fast rust-analyzer || :
|
|
|
|
|
|
|
|
|
|
%{__xk} test --no-fail-fast rustfmt || :
|
|
|
|
|
%{__x} test --no-fail-fast rustfmt || :
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
@ -957,6 +1080,15 @@ rm -rf "./build/%{rust_triple}/stage2-tools/%{rust_triple}/cit/"
|
|
|
|
|
%endif
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%if %target_enabled wasm32-wasip1
|
|
|
|
|
%target_files wasm32-wasip1
|
|
|
|
|
%if %with bundled_wasi_libc
|
|
|
|
|
%dir %{rustlibdir}/wasm32-wasip1/lib/self-contained
|
|
|
|
|
%{rustlibdir}/wasm32-wasip1/lib/self-contained/crt*.o
|
|
|
|
|
%{rustlibdir}/wasm32-wasip1/lib/self-contained/libc.a
|
|
|
|
|
%endif
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%if %target_enabled x86_64-unknown-none
|
|
|
|
|
%target_files x86_64-unknown-none
|
|
|
|
|
%endif
|
|
|
|
@ -965,6 +1097,10 @@ rm -rf "./build/%{rust_triple}/stage2-tools/%{rust_triple}/cit/"
|
|
|
|
|
%target_files x86_64-unknown-uefi
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%if %target_enabled aarch64-unknown-none-softfloat
|
|
|
|
|
%target_files aarch64-unknown-none-softfloat
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files debugger-common
|
|
|
|
|
%dir %{rustlibdir}
|
|
|
|
@ -984,9 +1120,9 @@ rm -rf "./build/%{rust_triple}/stage2-tools/%{rust_triple}/cit/"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files doc
|
|
|
|
|
%docdir %{_docdir}/%{name}
|
|
|
|
|
%dir %{_docdir}/%{name}
|
|
|
|
|
%{_docdir}/%{name}/html
|
|
|
|
|
%docdir %{_pkgdocdir}
|
|
|
|
|
%dir %{_pkgdocdir}
|
|
|
|
|
%{_pkgdocdir}/html
|
|
|
|
|
# former cargo-doc
|
|
|
|
|
%docdir %{_docdir}/cargo
|
|
|
|
|
%dir %{_docdir}/cargo
|
|
|
|
@ -1031,6 +1167,9 @@ rm -rf "./build/%{rust_triple}/stage2-tools/%{rust_triple}/cit/"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?rhel}
|
|
|
|
|
%files toolset-srpm-macros
|
|
|
|
|
%{rpmmacrodir}/macros.rust-srpm
|
|
|
|
|
|
|
|
|
|
%files toolset
|
|
|
|
|
%{rpmmacrodir}/macros.rust-toolset
|
|
|
|
|
%{_fileattrsdir}/cargo_vendor.attr
|
|
|
|
@ -1039,68 +1178,162 @@ rm -rf "./build/%{rust_triple}/stage2-tools/%{rust_triple}/cit/"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Apr 16 2024 Josh Stone <jistone@redhat.com> - 1.76.0-1
|
|
|
|
|
## START: Generated by rpmautospec
|
|
|
|
|
* Tue Aug 13 2024 Josh Stone <jistone@redhat.com> - 1.79.0-3
|
|
|
|
|
- Disable jump threading of float equality
|
|
|
|
|
|
|
|
|
|
* Thu Jul 25 2024 Josh Stone <jistone@redhat.com> - 1.79.0-2
|
|
|
|
|
- Trim extra_targets on RHEL
|
|
|
|
|
|
|
|
|
|
* Thu Jun 27 2024 Nikita Popov <npopov@redhat.com> - 1.79.0-1
|
|
|
|
|
- Update to Rust 1.79.0
|
|
|
|
|
|
|
|
|
|
* Thu Jun 27 2024 Nikita Popov <npopov@redhat.com> - 1.78.0-1
|
|
|
|
|
- Update to Rust 1.78.0
|
|
|
|
|
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.77.2-4
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
* Thu May 09 2024 Josh Stone <jistone@redhat.com> - 1.77.2-3
|
|
|
|
|
- Rebuild with LLVM 18
|
|
|
|
|
|
|
|
|
|
* Tue Apr 30 2024 Jesus Checa Hidalgo <jchecahi@redhat.com> - 1.77.2-2
|
|
|
|
|
- Update gating config for rhel 10
|
|
|
|
|
|
|
|
|
|
* Fri Apr 05 2024 Josh Stone <jistone@redhat.com> - 1.77.0-3
|
|
|
|
|
- Ensure more consistency in PGO flags -- fixes Cargo tests
|
|
|
|
|
|
|
|
|
|
* Thu Mar 21 2024 Davide Cavalca <dcavalca@fedoraproject.org> - 1.77.0-2
|
|
|
|
|
- Add build target for aarch64-unknown-none-softfloat
|
|
|
|
|
|
|
|
|
|
* Thu Mar 21 2024 Nikita Popov <npopov@redhat.com> - 1.77.0-1
|
|
|
|
|
- Update to 1.77.0
|
|
|
|
|
|
|
|
|
|
* Thu Feb 08 2024 Josh Stone <jistone@redhat.com> - 1.76.0-1
|
|
|
|
|
- Update to 1.76.0.
|
|
|
|
|
- Sync rust-toolset macros to rust-packaging v25.2
|
|
|
|
|
|
|
|
|
|
* Fri Jan 05 2024 Josh Stone <jistone@redhat.com> - 1.75.0-1
|
|
|
|
|
- Update to 1.75.0.
|
|
|
|
|
* Tue Jan 30 2024 Josh Stone <jistone@redhat.com> - 1.75.0-3
|
|
|
|
|
- Consolidate 32-bit build compromises.
|
|
|
|
|
- Update rust-toolset and add rust-srpm-macros for ELN.
|
|
|
|
|
|
|
|
|
|
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.75.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jan 05 2024 Josh Stone <jistone@redhat.com> - 1.74.1-2
|
|
|
|
|
- Rebuild in a new side-tag.
|
|
|
|
|
* Sun Dec 31 2023 Josh Stone <jistone@redhat.com> - 1.75.0-1
|
|
|
|
|
- Update to 1.75.0.
|
|
|
|
|
|
|
|
|
|
* Wed Jan 03 2024 Josh Stone <jistone@redhat.com> - 1.74.1-1
|
|
|
|
|
* Thu Dec 07 2023 Josh Stone <jistone@redhat.com> - 1.74.1-1
|
|
|
|
|
- Update to 1.74.1.
|
|
|
|
|
|
|
|
|
|
* Tue Oct 17 2023 Josh Stone <jistone@redhat.com> - 1.73.0-1
|
|
|
|
|
* Thu Nov 16 2023 Josh Stone <jistone@redhat.com> - 1.74.0-1
|
|
|
|
|
- Update to 1.74.0.
|
|
|
|
|
|
|
|
|
|
* Thu Oct 26 2023 Josh Stone <jistone@redhat.com> - 1.73.0-2
|
|
|
|
|
- Use thin-LTO and PGO for rustc itself.
|
|
|
|
|
|
|
|
|
|
* Thu Oct 05 2023 Josh Stone <jistone@redhat.com> - 1.73.0-1
|
|
|
|
|
- Update to 1.73.0.
|
|
|
|
|
- Drop el7 conditionals from the spec.
|
|
|
|
|
|
|
|
|
|
* Fri Sep 29 2023 Josh Stone <jistone@redhat.com> - 1.72.1-3
|
|
|
|
|
- Fix the profiler runtime with compiler-rt-17
|
|
|
|
|
- Switch to unbundled wasi-libc on Fedora
|
|
|
|
|
- Use emmalloc instead of CC0 dlmalloc when bundling wasi-libc
|
|
|
|
|
|
|
|
|
|
* Thu Oct 12 2023 Josh Stone <jistone@redhat.com> - 1.72.1-1
|
|
|
|
|
* Mon Sep 25 2023 Josh Stone <jistone@redhat.com> - 1.72.1-2
|
|
|
|
|
- Fix LLVM dependency for ELN
|
|
|
|
|
- Add build target for x86_64-unknown-none
|
|
|
|
|
- Add build target for x86_64-unknown-uefi
|
|
|
|
|
|
|
|
|
|
* Tue Sep 19 2023 Josh Stone <jistone@redhat.com> - 1.72.1-1
|
|
|
|
|
- Update to 1.72.1.
|
|
|
|
|
- Migrated to SPDX license
|
|
|
|
|
|
|
|
|
|
* Tue Aug 08 2023 Josh Stone <jistone@redhat.com> - 1.71.1-1
|
|
|
|
|
* Thu Aug 24 2023 Josh Stone <jistone@redhat.com> - 1.72.0-1
|
|
|
|
|
- Update to 1.72.0.
|
|
|
|
|
|
|
|
|
|
* Mon Aug 07 2023 Josh Stone <jistone@redhat.com> - 1.71.1-1
|
|
|
|
|
- Update to 1.71.1.
|
|
|
|
|
- Security fix for CVE-2023-38497
|
|
|
|
|
|
|
|
|
|
* Wed Jul 26 2023 Josh Stone <jistone@redhat.com> - 1.71.0-2
|
|
|
|
|
- Relax the suspicious_double_ref_op lint (rhbz2225471)
|
|
|
|
|
- Enable the profiler runtime for native hosts (rhbz2213875)
|
|
|
|
|
* Tue Jul 25 2023 Josh Stone <jistone@redhat.com> - 1.71.0-3
|
|
|
|
|
- Relax the suspicious_double_ref_op lint
|
|
|
|
|
- Enable the profiler runtime for native hosts
|
|
|
|
|
|
|
|
|
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.71.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jul 20 2023 Josh Stone <jistone@redhat.com> - 1.71.0-1
|
|
|
|
|
* Mon Jul 17 2023 Josh Stone <jistone@redhat.com> - 1.71.0-1
|
|
|
|
|
- Update to 1.71.0.
|
|
|
|
|
|
|
|
|
|
* Tue Jul 18 2023 Josh Stone <jistone@redhat.com> - 1.70.0-1
|
|
|
|
|
* Fri Jun 23 2023 Josh Stone <jistone@redhat.com> - 1.70.0-2
|
|
|
|
|
- Override default target CPUs to match distro settings
|
|
|
|
|
|
|
|
|
|
* Thu Jun 01 2023 Josh Stone <jistone@redhat.com> - 1.70.0-1
|
|
|
|
|
- Update to 1.70.0.
|
|
|
|
|
|
|
|
|
|
* Wed May 10 2023 Josh Stone <jistone@redhat.com> - 1.69.0-1
|
|
|
|
|
* Fri May 05 2023 Josh Stone <jistone@redhat.com> - 1.69.0-3
|
|
|
|
|
- Fix debuginfo with LLVM 16
|
|
|
|
|
|
|
|
|
|
* Mon May 01 2023 Josh Stone <jistone@redhat.com> - 1.69.0-2
|
|
|
|
|
- Build with LLVM 15 on Fedora 38+
|
|
|
|
|
|
|
|
|
|
* Thu Apr 20 2023 Josh Stone <jistone@redhat.com> - 1.69.0-1
|
|
|
|
|
- Update to 1.69.0.
|
|
|
|
|
- Obsolete rust-analysis.
|
|
|
|
|
|
|
|
|
|
* Tue May 09 2023 Josh Stone <jistone@redhat.com> - 1.68.2-1
|
|
|
|
|
* Tue Mar 28 2023 Josh Stone <jistone@redhat.com> - 1.68.2-1
|
|
|
|
|
- Update to 1.68.2.
|
|
|
|
|
|
|
|
|
|
* Mon May 08 2023 Josh Stone <jistone@redhat.com> - 1.67.1-1
|
|
|
|
|
* Thu Mar 23 2023 Josh Stone <jistone@redhat.com> - 1.68.1-1
|
|
|
|
|
- Update to 1.68.1.
|
|
|
|
|
|
|
|
|
|
* Thu Mar 09 2023 Josh Stone <jistone@redhat.com> - 1.68.0-1
|
|
|
|
|
- Update to 1.68.0.
|
|
|
|
|
|
|
|
|
|
* Tue Mar 07 2023 David Michael <fedora.dm0@gmail.com> - 1.67.1-3
|
|
|
|
|
- Add a virtual Provides to rust-std-static containing the target triple.
|
|
|
|
|
|
|
|
|
|
* Mon Feb 20 2023 Orion Poplawski <orion@nwra.com> - 1.67.1-2
|
|
|
|
|
- Ship rust-toolset for EPEL7
|
|
|
|
|
|
|
|
|
|
* Thu Feb 09 2023 Josh Stone <jistone@redhat.com> - 1.67.1-1
|
|
|
|
|
- Update to 1.67.1.
|
|
|
|
|
|
|
|
|
|
* Wed Jan 11 2023 Josh Stone <jistone@redhat.com> - 1.66.1-1
|
|
|
|
|
* Fri Feb 03 2023 Josh Stone <jistone@redhat.com> - 1.67.0-3
|
|
|
|
|
- Unbundle libgit2 on Fedora 38.
|
|
|
|
|
|
|
|
|
|
* Fri Jan 27 2023 Adam Williamson <awilliam@redhat.com> - 1.67.0-2
|
|
|
|
|
- Backport PR #107360 to fix build of mesa
|
|
|
|
|
- Backport 675fa0b3 to fix bootstrapping failure
|
|
|
|
|
|
|
|
|
|
* Thu Jan 26 2023 Josh Stone <jistone@redhat.com> - 1.67.0-1
|
|
|
|
|
- Update to 1.67.0.
|
|
|
|
|
|
|
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.66.1-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jan 10 2023 Josh Stone <jistone@redhat.com> - 1.66.1-1
|
|
|
|
|
- Update to 1.66.1.
|
|
|
|
|
- Security fix for CVE-2022-46176
|
|
|
|
|
|
|
|
|
|
* Fri Jan 06 2023 Josh Stone <jistone@redhat.com> - 1.65.0-1
|
|
|
|
|
* Thu Dec 15 2022 Josh Stone <jistone@redhat.com> - 1.66.0-1
|
|
|
|
|
- Update to 1.66.0.
|
|
|
|
|
|
|
|
|
|
* Thu Nov 03 2022 Josh Stone <jistone@redhat.com> - 1.65.0-1
|
|
|
|
|
- Update to 1.65.0.
|
|
|
|
|
- rust-analyzer now obsoletes rls.
|
|
|
|
|
|
|
|
|
|
* Wed Oct 12 2022 Josh Stone <jistone@redhat.com> - 1.64.0-2
|
|
|
|
|
- Rebuild for LLVM 15.0.1.
|
|
|
|
|
|
|
|
|
|
* Thu Sep 22 2022 Josh Stone <jistone@redhat.com> - 1.64.0-1
|
|
|
|
|
- Update to 1.64.0.
|
|
|
|
|
- Add rust-analyzer.
|
|
|
|
|
|
|
|
|
|
* Wed Sep 07 2022 Josh Stone <jistone@redhat.com> - 1.63.0-1
|
|
|
|
|
* Thu Aug 11 2022 Josh Stone <jistone@redhat.com> - 1.63.0-1
|
|
|
|
|
- Update to 1.63.0.
|
|
|
|
|
|
|
|
|
|
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.62.1-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jul 19 2022 Josh Stone <jistone@redhat.com> - 1.62.1-1
|
|
|
|
|
- Update to 1.62.1.
|
|
|
|
|
|
|
|
|
@ -1110,15 +1343,34 @@ rm -rf "./build/%{rust_triple}/stage2-tools/%{rust_triple}/cit/"
|
|
|
|
|
* Thu Jun 30 2022 Josh Stone <jistone@redhat.com> - 1.62.0-1
|
|
|
|
|
- Update to 1.62.0.
|
|
|
|
|
|
|
|
|
|
* Fri Jun 03 2022 Josh Stone <jistone@redhat.com> - 1.61.0-1
|
|
|
|
|
* Mon May 23 2022 Josh Stone <jistone@redhat.com> - 1.61.0-2
|
|
|
|
|
- Add missing target_feature to the list of well known cfg names
|
|
|
|
|
|
|
|
|
|
* Thu May 19 2022 Josh Stone <jistone@redhat.com> - 1.61.0-1
|
|
|
|
|
- Update to 1.61.0.
|
|
|
|
|
- Add rust-toolset as a subpackage.
|
|
|
|
|
- Add rust-toolset for ELN.
|
|
|
|
|
|
|
|
|
|
* Wed Apr 20 2022 Josh Stone <jistone@redhat.com> - 1.60.0-1
|
|
|
|
|
* Thu Apr 07 2022 Josh Stone <jistone@redhat.com> - 1.60.0-1
|
|
|
|
|
- Update to 1.60.0.
|
|
|
|
|
|
|
|
|
|
* Tue Apr 19 2022 Josh Stone <jistone@redhat.com> - 1.59.0-1
|
|
|
|
|
* Fri Mar 25 2022 Josh Stone <jistone@redhat.com> - 1.59.0-4
|
|
|
|
|
- Fix the archive index for wasm32-wasi's libc.a
|
|
|
|
|
|
|
|
|
|
* Fri Mar 04 2022 Stephen Gallagher <sgallagh@redhat.com> - 1.59.0-3
|
|
|
|
|
- Rebuild against the bootstrapped build
|
|
|
|
|
|
|
|
|
|
* Fri Mar 04 2022 Stephen Gallagher <sgallagh@redhat.com> - 1.59.0-2.1
|
|
|
|
|
- Bootstrapping for Fedora ELN
|
|
|
|
|
|
|
|
|
|
* Tue Mar 01 2022 Josh Stone <jistone@redhat.com> - 1.59.0-2
|
|
|
|
|
- Fix s390x hangs, rhbz#2058803
|
|
|
|
|
|
|
|
|
|
* Thu Feb 24 2022 Josh Stone <jistone@redhat.com> - 1.59.0-1
|
|
|
|
|
- Update to 1.59.0.
|
|
|
|
|
- Revert to libgit2 1.3.x
|
|
|
|
|
|
|
|
|
|
* Sun Feb 20 2022 Igor Raits <igor.raits@gmail.com> - 1.58.1-2
|
|
|
|
|
- Rebuild for libgit2 1.4.x
|
|
|
|
|
|
|
|
|
|
* Thu Jan 20 2022 Josh Stone <jistone@redhat.com> - 1.58.1-1
|
|
|
|
|
- Update to 1.58.1.
|
|
|
|
@ -1126,60 +1378,72 @@ rm -rf "./build/%{rust_triple}/stage2-tools/%{rust_triple}/cit/"
|
|
|
|
|
* Thu Jan 13 2022 Josh Stone <jistone@redhat.com> - 1.58.0-1
|
|
|
|
|
- Update to 1.58.0.
|
|
|
|
|
|
|
|
|
|
* Wed Dec 15 2021 Josh Stone <jistone@redhat.com> - 1.57.0-1
|
|
|
|
|
- Update to 1.57.0.
|
|
|
|
|
* Wed Jan 05 2022 Josh Stone <jistone@redhat.com> - 1.57.0-2
|
|
|
|
|
- Add rust-std-static-i686-pc-windows-gnu
|
|
|
|
|
- Add rust-std-static-x86_64-pc-windows-gnu
|
|
|
|
|
|
|
|
|
|
* Wed Dec 01 2021 Josh Stone <jistone@redhat.com> - 1.56.1-2
|
|
|
|
|
* Thu Dec 02 2021 Josh Stone <jistone@redhat.com> - 1.57.0-1
|
|
|
|
|
- Update to 1.57.0, fixes rhbz#2028675.
|
|
|
|
|
- Backport rust#91070, fixes rhbz#1990657
|
|
|
|
|
- Add rust-std-static-wasm32-wasi
|
|
|
|
|
Resolves: rhbz#1980082
|
|
|
|
|
|
|
|
|
|
* Thu Nov 04 2021 Josh Stone <jistone@redhat.com> - 1.56.1-1
|
|
|
|
|
* Sun Nov 28 2021 Igor Raits <ignatenkobrain@fedoraproject.org> - 1.56.1-3
|
|
|
|
|
- De-bootstrap (libgit2)
|
|
|
|
|
|
|
|
|
|
* Sun Nov 28 2021 Igor Raits <ignatenkobrain@fedoraproject.org> - 1.56.1-2
|
|
|
|
|
- Rebuild for libgit2 1.3.x
|
|
|
|
|
|
|
|
|
|
* Mon Nov 01 2021 Josh Stone <jistone@redhat.com> - 1.56.1-1
|
|
|
|
|
- Update to 1.56.1.
|
|
|
|
|
|
|
|
|
|
* Fri Oct 29 2021 Josh Stone <jistone@redhat.com> - 1.55.0-1
|
|
|
|
|
* Thu Oct 21 2021 Josh Stone <jistone@redhat.com> - 1.56.0-1
|
|
|
|
|
- Update to 1.56.0.
|
|
|
|
|
|
|
|
|
|
* Tue Sep 14 2021 Sahana Prasad <sahana@redhat.com> - 1.55.0-2
|
|
|
|
|
- Rebuilt with OpenSSL 3.0.0
|
|
|
|
|
|
|
|
|
|
* Thu Sep 09 2021 Josh Stone <jistone@redhat.com> - 1.55.0-1
|
|
|
|
|
- Update to 1.55.0.
|
|
|
|
|
- Use llvm-ranlib for wasm rlibs; Fixes rhbz#2002612
|
|
|
|
|
|
|
|
|
|
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 1.54.0-2
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
* Tue Aug 24 2021 Josh Stone <jistone@redhat.com> - 1.54.0-2
|
|
|
|
|
- Build with LLVM 12 on Fedora 35+
|
|
|
|
|
|
|
|
|
|
* Wed Aug 04 2021 Josh Stone <jistone@redhat.com> - 1.54.0-1
|
|
|
|
|
* Thu Jul 29 2021 Josh Stone <jistone@redhat.com> - 1.54.0-1
|
|
|
|
|
- Update to 1.54.0.
|
|
|
|
|
|
|
|
|
|
* Tue Jun 22 2021 Josh Stone <jistone@redhat.com> - 1.53.0-1
|
|
|
|
|
- Update to 1.53.0.
|
|
|
|
|
- Update openssl crates to published versions for 3.0 support.
|
|
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.53.0-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jun 15 2021 Mohan Boddu <mboddu@redhat.com> - 1.52.1-4
|
|
|
|
|
- Rebuilt for RHEL 9 BETA for openssl 3.0
|
|
|
|
|
* Thu Jul 08 2021 Josh Stone <jistone@redhat.com> - 1.53.0-2
|
|
|
|
|
- Exclude wasm on s390x for lack of lld
|
|
|
|
|
|
|
|
|
|
* Mon Jun 07 2021 Josh Stone <jistone@redhat.com> - 1.52.1-3
|
|
|
|
|
* Thu Jun 17 2021 Josh Stone <jistone@redhat.com> - 1.53.0-1
|
|
|
|
|
- Update to 1.53.0.
|
|
|
|
|
|
|
|
|
|
* Wed Jun 02 2021 Josh Stone <jistone@redhat.com> - 1.52.1-2
|
|
|
|
|
- Set rust.codegen-units-std=1 for all targets again.
|
|
|
|
|
- Add rust-std-static-wasm32-unknown-unknown.
|
|
|
|
|
- Rebuild f34 with LLVM 12.
|
|
|
|
|
|
|
|
|
|
* Tue May 18 2021 Josh Stone <jistone@redhat.com> - 1.52.1-2
|
|
|
|
|
- Rebuild for OpenSSL 3.0.0-alpha16
|
|
|
|
|
|
|
|
|
|
* Thu May 13 2021 Josh Stone <jistone@redhat.com> - 1.52.1-1
|
|
|
|
|
- Update to 1.52.1. Includes security fixes for CVE-2020-36323,
|
|
|
|
|
CVE-2021-28876, CVE-2021-28878, CVE-2021-28879, and CVE-2021-31162.
|
|
|
|
|
- Initial support for OpenSSL 3.0.0-alpha15
|
|
|
|
|
* Mon May 10 2021 Josh Stone <jistone@redhat.com> - 1.52.1-1
|
|
|
|
|
- Update to 1.52.1.
|
|
|
|
|
|
|
|
|
|
* Wed Apr 28 2021 Josh Stone <jistone@redhat.com> - 1.51.0-1
|
|
|
|
|
- Update to 1.51.0. Includes security fixes for CVE-2021-28875
|
|
|
|
|
and CVE-2021-28877.
|
|
|
|
|
* Thu May 06 2021 Josh Stone <jistone@redhat.com> - 1.52.0-1
|
|
|
|
|
- Update to 1.52.0.
|
|
|
|
|
|
|
|
|
|
* Tue Apr 27 2021 Josh Stone <jistone@redhat.com> - 1.50.0-1
|
|
|
|
|
- Update to 1.50.0.
|
|
|
|
|
* Fri Apr 16 2021 Josh Stone <jistone@redhat.com> - 1.51.0-3
|
|
|
|
|
- Security fixes for CVE-2020-36323, CVE-2021-31162
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.49.0-5
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
* Wed Apr 14 2021 Josh Stone <jistone@redhat.com> - 1.51.0-2
|
|
|
|
|
- Security fixes for CVE-2021-28876, CVE-2021-28878, CVE-2021-28879
|
|
|
|
|
- Fix bootstrap for stage0 rust 1.51
|
|
|
|
|
|
|
|
|
|
* Fri Feb 12 2021 Josh Stone <jistone@redhat.com> - 1.49.0-4
|
|
|
|
|
- Rebuild without bootstrap binaries
|
|
|
|
|
* Thu Mar 25 2021 Josh Stone <jistone@redhat.com> - 1.51.0-1
|
|
|
|
|
- Update to 1.51.0.
|
|
|
|
|
|
|
|
|
|
* Thu Feb 11 2021 Josh Stone <jistone@redhat.com> - 1.49.0-3
|
|
|
|
|
- Re-bootstrap due to removed LLVM targets
|
|
|
|
|
* Thu Feb 11 2021 Josh Stone <jistone@redhat.com> - 1.50.0-1
|
|
|
|
|
- Update to 1.50.0.
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.49.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
@ -1543,3 +1807,5 @@ rm -rf "./build/%{rust_triple}/stage2-tools/%{rust_triple}/cit/"
|
|
|
|
|
|
|
|
|
|
* Thu Jul 14 2016 Josh Stone <jistone@fedoraproject.org> - 1.10.0-1
|
|
|
|
|
- Initial package, bootstrapped
|
|
|
|
|
|
|
|
|
|
## END: Generated by rpmautospec
|
|
|
|
|