diff --git a/.gitignore b/.gitignore index f981a14..e8b4f8c 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,4 @@ /rand-0.8.1.crate /rand-0.8.2.crate /rand-0.8.3.crate +/rand-0.8.4.crate diff --git a/rand-fix-metadata.diff b/rand-fix-metadata.diff index 94285e8..6ea2cb1 100644 --- a/rand-fix-metadata.diff +++ b/rand-fix-metadata.diff @@ -1,6 +1,6 @@ ---- rand-0.8.3/Cargo.toml 1970-01-01T00:00:00+00:00 -+++ rand-0.8.3/Cargo.toml 2021-03-21T13:23:07.524769+00:00 -@@ -66,14 +66,11 @@ +--- rand-0.8.4/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ rand-0.8.4/Cargo.toml 2021-06-17T08:18:29.182805+00:00 +@@ -67,14 +67,11 @@ simd_support = ["packed_simd"] small_rng = [] std = ["rand_core/std", "rand_chacha/std", "alloc", "getrandom", "libc"] diff --git a/rust-rand.spec b/rust-rand.spec index f620799..a0f15f7 100644 --- a/rust-rand.spec +++ b/rust-rand.spec @@ -1,14 +1,11 @@ # Generated by rust2rpm 17 -# * temporarily disable test suite to work around LLVM 11 codegen issues -# since Rust 1.50.0: -# https://bugzilla.redhat.com/show_bug.cgi?id=1920403#c1 -%bcond_with check +%bcond_without check %global debug_package %{nil} %global crate rand Name: rust-%{crate} -Version: 0.8.3 +Version: 0.8.4 Release: 1%{?dist} Summary: Random number generators and other randomness functionality @@ -17,7 +14,7 @@ License: MIT or ASL 2.0 URL: https://crates.io/crates/rand Source: %{crates_source} # Initial patched metadata -# * Remove non-unix dependencies +# * drop emscripten-specific dependencies and features Patch0: rand-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -106,6 +103,18 @@ which use "log" feature of "%{crate}" crate. %files -n %{name}+log-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%package -n %{name}+min_const_gen-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+min_const_gen-devel %{_description} + +This package contains library source intended for building other packages +which use "min_const_gen" feature of "%{crate}" crate. + +%files -n %{name}+min_const_gen-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + %package -n %{name}+rand_chacha-devel Summary: %{summary} BuildArch: noarch @@ -197,6 +206,10 @@ which use "std_rng" feature of "%{crate}" crate. %endif %changelog +* Thu Jun 17 2021 Fabio Valentini - 0.8.4-1 +- Update to version 0.8.4. +- Fixes RHBZ#1972295 + * Sun Mar 28 2021 Fabio Valentini - 0.8.3-1 - Update to version 0.8.3. - Fixes RHBZ#1920403 diff --git a/sources b/sources index da7f31f..d9c74af 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (rand-0.8.3.crate) = fd61348a8c3187881473c8764238d2388da3419e82174f2877cda51a7cd136106b2c7f0dea6b914f120b929c1db323529fa161465156661ffd19eef9b2737e4d +SHA512 (rand-0.8.4.crate) = 77ae0e988e31e12f7d3f2c40814f930eecbc94c4aced827c337be78eeeabf39fde2dc5c4fda059afdc01285ff4afe30393c32694377de004feff16207606558e