diff --git a/.gitignore b/.gitignore index a9469e2..1baae1e 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /fastrand-1.6.0.crate /fastrand-1.7.0.crate /fastrand-1.8.0.crate +/fastrand-1.9.0.crate diff --git a/fastrand-fix-metadata-auto.diff b/fastrand-fix-metadata-auto.diff index b18b38c..1c14a02 100644 --- a/fastrand-fix-metadata-auto.diff +++ b/fastrand-fix-metadata-auto.diff @@ -1,19 +1,19 @@ ---- fastrand-1.8.0/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ fastrand-1.8.0/Cargo.toml 1970-01-01T00:00:01+00:00 +--- fastrand-1.9.0/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ fastrand-1.9.0/Cargo.toml 2023-02-19T21:24:20.133936+00:00 @@ -38,16 +38,3 @@ [dev-dependencies.wyhash] version = "0.5" --[target."cfg(target_arch = \"wasm32\")".dependencies.instant] +-[target."cfg(all(target_arch = \"wasm32\", not(target_os = \"wasi\")))".dependencies.instant] -version = "0.1" - --[target."cfg(target_arch = \"wasm32\")".dev-dependencies.getrandom] +-[target."cfg(all(target_arch = \"wasm32\", not(target_os = \"wasi\")))".dev-dependencies.getrandom] -version = "0.2" -features = ["js"] - --[target."cfg(target_arch = \"wasm32\")".dev-dependencies.instant] +-[target."cfg(all(target_arch = \"wasm32\", not(target_os = \"wasi\")))".dev-dependencies.instant] -version = "0.1" -features = ["wasm-bindgen"] - --[target."cfg(target_arch = \"wasm32\")".dev-dependencies.wasm-bindgen-test] +-[target."cfg(all(target_arch = \"wasm32\", not(target_os = \"wasi\")))".dev-dependencies.wasm-bindgen-test] -version = "0.3" diff --git a/rust-fastrand.spec b/rust-fastrand.spec index d12fc31..dadc9ab 100644 --- a/rust-fastrand.spec +++ b/rust-fastrand.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 22 +# Generated by rust2rpm 24 # * missing dev-dependency: wyhash ^0.5 %bcond_with check %global debug_package %{nil} @@ -6,7 +6,7 @@ %global crate fastrand Name: rust-fastrand -Version: 1.8.0 +Version: 1.9.0 Release: %autorelease Summary: Simple and fast random number generator @@ -16,12 +16,10 @@ Source: %{crates_source} # Automatically generated patch to strip foreign dependencies Patch: fastrand-fix-metadata-auto.diff -ExclusiveArch: %{rust_arches} - BuildRequires: rust-packaging >= 21 %global _description %{expand: -Simple and fast random number generator.} +A simple and fast random number generator.} %description %{_description} diff --git a/sources b/sources index c73c355..5c24acf 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (fastrand-1.8.0.crate) = 82cbc2b29b97fa3fa2c9372d3e8c390586a7b39f6c7d8c45f9b779bdfdaa2e8a3b44bc7bfcb3367c18120726facc753c9827cf63a8fb4ddc2667509b16333cb1 +SHA512 (fastrand-1.9.0.crate) = 321567b5fad8552c0efc4393b1e77d1bce288b0a88c475d432f79e91b3457ee6eb5db9e4d65ac6381b9990c9916f4651b6a76250df44d51ea3e25bd8184bdc52