Compare commits

..

7 Commits

5
.gitignore vendored

@ -7,3 +7,8 @@
/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
/fastrand-2.1.0.crate
/fastrand-2.1.1.crate
/fastrand-2.2.0.crate
/fastrand-2.3.0.crate

@ -1,6 +1,6 @@
--- fastrand-2.0.1/Cargo.toml 1970-01-01T00:00:01+00:00 --- fastrand-2.3.0/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.3.0/Cargo.toml 2024-12-09T19:46:08.343862+00:00
@@ -50,18 +50,6 @@ @@ -72,18 +72,6 @@
default = ["std"] default = ["std"]
js = [ js = [
"std", "std",
@ -8,14 +8,14 @@
] ]
std = ["alloc"] std = ["alloc"]
-[target."cfg(all(any(target_arch = \"wasm32\", target_arch = \"wasm64\"), target_os = \"unknown\"))".dependencies.getrandom] -[target.'cfg(all(any(target_arch = "wasm32", target_arch = "wasm64"), target_os = "unknown"))'.dependencies.getrandom]
-version = "0.2" -version = "0.2"
-features = ["js"] -features = ["js"]
-optional = true -optional = true
- -
-[target."cfg(all(any(target_arch = \"wasm32\", target_arch = \"wasm64\"), target_os = \"unknown\"))".dev-dependencies.getrandom] -[target.'cfg(all(any(target_arch = "wasm32", target_arch = "wasm64"), target_os = "unknown"))'.dev-dependencies.getrandom]
-version = "0.2" -version = "0.2"
-features = ["js"] -features = ["js"]
- -
-[target."cfg(all(any(target_arch = \"wasm32\", target_arch = \"wasm64\"), target_os = \"unknown\"))".dev-dependencies.wasm-bindgen-test] -[target.'cfg(all(any(target_arch = "wasm32", target_arch = "wasm64"), target_os = "unknown"))'.dev-dependencies.wasm-bindgen-test]
-version = "0.3" -version = "0.3"

@ -1,6 +1,6 @@
--- fastrand-2.0.1/Cargo.toml 1970-01-01T00:00:01+00:00 --- fastrand-2.3.0/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.3.0/Cargo.toml 2024-12-09T19:46:08.344862+00:00
@@ -48,8 +48,5 @@ @@ -70,8 +70,5 @@
[features] [features]
alloc = [] alloc = []
default = ["std"] default = ["std"]

@ -1,25 +1,25 @@
# Generated by rust2rpm 24 # Generated by rust2rpm 27
# * missing dev-dependency: wyhash ^0.5 # * missing dev-dependency: wyhash ^0.5
%bcond_with check %bcond check 0
%global debug_package %{nil} %global debug_package %{nil}
%global crate fastrand %global crate fastrand
Name: rust-fastrand Name: rust-fastrand
Version: 2.0.1 Version: 2.3.0
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.3.0.crate) = 267fecbb7459c8840f03425733d278dd6c4e7637b85b99552877117ed5e8015e094d86aa95841f77064136b7f382276c3cb2c2bef7b2881d272f4aa57c5cf947

Loading…
Cancel
Save