Update to version 1.8.0; Fixes RHBZ#2110109

epel9
Fabio Valentini 3 years ago
parent 77c31bb27a
commit c627bfb72a
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -3,3 +3,4 @@
/fastrand-1.4.1.crate
/fastrand-1.6.0.crate
/fastrand-1.7.0.crate
/fastrand-1.8.0.crate

@ -1,11 +1,12 @@
--- fastrand-1.7.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ fastrand-1.7.0/Cargo.toml 2022-01-26T16:48:51.680012+00:00
@@ -29,15 +29,3 @@
--- 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
@@ -38,16 +38,3 @@
[dev-dependencies.wyhash]
version = "0.5"
-[target."cfg(target_arch = \"wasm32\")".dependencies.instant]
-version = "0.1"
-
-[target."cfg(target_arch = \"wasm32\")".dev-dependencies.getrandom]
-version = "0.2"
-features = ["js"]

@ -1,26 +1,24 @@
# Generated by rust2rpm 20
# Generated by rust2rpm 22
# * missing dev-dependency: wyhash ^0.5
%bcond_with check
%global debug_package %{nil}
%global crate fastrand
Name: rust-%{crate}
Version: 1.7.0
Name: rust-fastrand
Version: 1.8.0
Release: %autorelease
Summary: Simple and fast random number generator
# Upstream license specification: Apache-2.0 OR MIT
License: ASL 2.0 or MIT
License: Apache-2.0 OR MIT
URL: https://crates.io/crates/fastrand
Source: %{crates_source}
# Initial patched metadata
# * drop WASM-specific dependencies
Patch0: fastrand-fix-metadata.diff
# Automatically generated patch to strip foreign dependencies
Patch: fastrand-fix-metadata-auto.diff
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Simple and fast random number generator.}
@ -37,9 +35,11 @@ This package contains library source intended for building other packages which
use the "%{crate}" crate.
%files devel
%license LICENSE-APACHE LICENSE-MIT
%doc CHANGELOG.md README.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/
%license %{crate_instdir}/LICENSE-APACHE
%license %{crate_instdir}/LICENSE-MIT
%doc %{crate_instdir}/CHANGELOG.md
%doc %{crate_instdir}/README.md
%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@ -51,7 +51,7 @@ This package contains library source intended for building other packages which
use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1

@ -1 +1 @@
SHA512 (fastrand-1.7.0.crate) = 6a1a8cd4f6f9bfff07a4ca18ef84839e4427ca9bf9b6733bb15b1b70cf2439820d6a770ae9f3e5e10166a6144449e37e6f3f6ed9acb761688207fd7c53d2c673
SHA512 (fastrand-1.8.0.crate) = 82cbc2b29b97fa3fa2c9372d3e8c390586a7b39f6c7d8c45f9b779bdfdaa2e8a3b44bc7bfcb3367c18120726facc753c9827cf63a8fb4ddc2667509b16333cb1

Loading…
Cancel
Save