Update to version 2.0.2; Fixes RHBZ#2271251

epel10
Fabio Valentini 10 months ago
parent 07fa20ce9e
commit b7d3ce946e
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -7,3 +7,4 @@
/fastrand-1.9.0.crate /fastrand-1.9.0.crate
/fastrand-2.0.0.crate /fastrand-2.0.0.crate
/fastrand-2.0.1.crate /fastrand-2.0.1.crate
/fastrand-2.0.2.crate

@ -1,5 +1,5 @@
--- fastrand-2.0.1/Cargo.toml 1970-01-01T00:00:01+00:00 --- fastrand-2.0.2/Cargo.toml 1970-01-01T00:00:01+00:00
+++ fastrand-2.0.1/Cargo.toml 2023-09-26T16:53:36.810445+00:00 +++ fastrand-2.0.2/Cargo.toml 2024-04-25T12:50:18.235116+00:00
@@ -50,18 +50,6 @@ @@ -50,18 +50,6 @@
default = ["std"] default = ["std"]
js = [ js = [

@ -1,5 +1,5 @@
--- fastrand-2.0.1/Cargo.toml 1970-01-01T00:00:01+00:00 --- fastrand-2.0.2/Cargo.toml 1970-01-01T00:00:01+00:00
+++ fastrand-2.0.1/Cargo.toml 2023-09-26T16:53:47.491498+00:00 +++ fastrand-2.0.2/Cargo.toml 2024-04-25T12:50:21.456132+00:00
@@ -48,8 +48,5 @@ @@ -48,8 +48,5 @@
[features] [features]
alloc = [] alloc = []

@ -1,4 +1,4 @@
# Generated by rust2rpm 24 # Generated by rust2rpm 26
# * missing dev-dependency: wyhash ^0.5 # * missing dev-dependency: wyhash ^0.5
%bcond_with check %bcond_with check
%global debug_package %{nil} %global debug_package %{nil}
@ -6,20 +6,20 @@
%global crate fastrand %global crate fastrand
Name: rust-fastrand Name: rust-fastrand
Version: 2.0.1 Version: 2.0.2
Release: %autorelease Release: %autorelease
Summary: Simple and fast random number generator Summary: Simple and fast random number generator
License: Apache-2.0 OR MIT License: Apache-2.0 OR MIT
URL: https://crates.io/crates/fastrand URL: https://crates.io/crates/fastrand
Source: %{crates_source} Source: %{crates_source}
# Automatically generated patch to strip foreign dependencies # Automatically generated patch to strip dependencies and normalize metadata
Patch: fastrand-fix-metadata-auto.diff Patch: fastrand-fix-metadata-auto.diff
# Manually created patch for downstream crate metadata changes # Manually created patch for downstream crate metadata changes
# * remove WASM-specific "js" feature # * remove WASM-specific "js" feature
Patch: fastrand-fix-metadata.diff Patch: fastrand-fix-metadata.diff
BuildRequires: rust-packaging >= 21 BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand: %global _description %{expand:
A simple and fast random number generator.} A simple and fast random number generator.}
@ -79,7 +79,7 @@ use the "std" feature of the "%{crate}" crate.
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version} -p1
%cargo_prep %cargo_prep
%generate_buildrequires %generate_buildrequires

@ -0,0 +1,11 @@
[package]
cargo-toml-patch-comments = [
"remove WASM-specific \"js\" feature",
]
[tests]
run = ["none"]
comments = [
"missing dev-dependency: wyhash ^0.5",
]

@ -1 +1 @@
SHA512 (fastrand-2.0.1.crate) = 79a1e1b3f39264f037def236afbd87b732f5e0a2154b1d9e721b3c7990c52be45138320e2571fe628f482e0da7e3cf867abb745e3c277b19015fc031fd4410d9 SHA512 (fastrand-2.0.2.crate) = 3ef9c21e4928071619adbad6421165ea82feb04c26ee18893b172f9f8a510b9a2097257ae31647a907680412b68d6662eff13cb27649ed9f5e68c374619701cf

Loading…
Cancel
Save