Update to version 0.9.0; Fixes RHBZ#2342267

epel10 imports/epel10/rust-rand-0.9.0-1.el10
Benjamin A. Beasley 3 weeks ago
parent 9c86cc24ac
commit ab41faa303

1
.gitignore vendored

@ -18,3 +18,4 @@
/rand-0.8.3.crate
/rand-0.8.4.crate
/rand-0.8.5.crate
/rand-0.9.0.crate

@ -1,11 +1,11 @@
# Generated by rust2rpm 24
%bcond_without check
# Generated by rust2rpm 27
%bcond check 1
%global debug_package %{nil}
%global crate rand
Name: rust-rand
Version: 0.8.5
Version: 0.9.0
Release: %autorelease
Summary: Random number generators and other randomness functionality
@ -13,7 +13,7 @@ License: MIT OR Apache-2.0
URL: https://crates.io/crates/rand
Source: %{crates_source}
BuildRequires: rust-packaging >= 21
BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
Random number generators and other randomness functionality.}
@ -61,30 +61,6 @@ use the "alloc" feature of the "%{crate}" crate.
%files -n %{name}+alloc-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+getrandom-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+getrandom-devel %{_description}
This package contains library source intended for building other packages which
use the "getrandom" feature of the "%{crate}" crate.
%files -n %{name}+getrandom-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+libc-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+libc-devel %{_description}
This package contains library source intended for building other packages which
use the "libc" feature of the "%{crate}" crate.
%files -n %{name}+libc-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+log-devel
Summary: %{summary}
BuildArch: noarch
@ -97,28 +73,16 @@ use the "log" feature of the "%{crate}" crate.
%files -n %{name}+log-devel
%ghost %{crate_instdir}/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 the "min_const_gen" feature of the "%{crate}" crate.
%files -n %{name}+min_const_gen-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+rand_chacha-devel
%package -n %{name}+os_rng-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+rand_chacha-devel %{_description}
%description -n %{name}+os_rng-devel %{_description}
This package contains library source intended for building other packages which
use the "rand_chacha" feature of the "%{crate}" crate.
use the "os_rng" feature of the "%{crate}" crate.
%files -n %{name}+rand_chacha-devel
%files -n %{name}+os_rng-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+serde-devel
@ -133,18 +97,6 @@ use the "serde" feature of the "%{crate}" crate.
%files -n %{name}+serde-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+serde1-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+serde1-devel %{_description}
This package contains library source intended for building other packages which
use the "serde1" feature of the "%{crate}" crate.
%files -n %{name}+serde1-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+small_rng-devel
Summary: %{summary}
BuildArch: noarch
@ -181,8 +133,32 @@ use the "std_rng" feature of the "%{crate}" crate.
%files -n %{name}+std_rng-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+thread_rng-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+thread_rng-devel %{_description}
This package contains library source intended for building other packages which
use the "thread_rng" feature of the "%{crate}" crate.
%files -n %{name}+thread_rng-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+unbiased-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+unbiased-devel %{_description}
This package contains library source intended for building other packages which
use the "unbiased" feature of the "%{crate}" crate.
%files -n %{name}+unbiased-devel
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
%autosetup -n %{crate}-%{version} -p1
%cargo_prep
%generate_buildrequires

@ -1,5 +0,0 @@
[DEFAULT]
unwanted-features =
nightly
packed_simd
simd_support

@ -0,0 +1,6 @@
[features]
hide = [
# These require a nightly Rust compiler:
"nightly",
"simd_support",
]

@ -1 +1 @@
SHA512 (rand-0.8.5.crate) = 8b33a8988906ba5e2057a9a84bdd11f867a5536c22f5056eec59ed4ec4e3a6da2fd773da4c0510d343762e5a4ea0f007db4c4a7cef87a47f90e36c1a84d86fb2
SHA512 (rand-0.9.0.crate) = e07c9650dda7f9686b4f604990bb7f948667bc820322f464302fac3b2a8136a2a5d48ae6399f104e47bc1ebfda105f99ad8b031ce090cdb71840afb85f6a3032

Loading…
Cancel
Save