diff --git a/.gitignore b/.gitignore index 4f1b82c..c8b4431 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ /rand-0.7.0.crate /rand-0.7.1.crate /rand-0.7.2.crate +/rand-0.7.3.crate diff --git a/rand-fix-metadata.diff b/rand-fix-metadata.diff index c605789..e272299 100644 --- a/rand-fix-metadata.diff +++ b/rand-fix-metadata.diff @@ -1,6 +1,6 @@ ---- rand-0.7.2/Cargo.toml 1970-01-01T00:00:00+00:00 -+++ rand-0.7.2/Cargo.toml 2019-09-17T05:51:27.636638+00:00 -@@ -76,8 +76,6 @@ +--- rand-0.7.3/Cargo.toml 2020-01-10T21:46:19+00:00 ++++ rand-0.7.3/Cargo.toml 2020-01-15T23:50:29.531548+00:00 +@@ -67,8 +67,6 @@ [target."cfg(not(target_os = \"emscripten\"))".dependencies.rand_chacha] version = "0.2.1" default-features = false @@ -8,4 +8,4 @@ -version = "0.2" [target."cfg(unix)".dependencies.libc] version = "0.2.22" - default-features = false + optional = true diff --git a/rust-rand.spec b/rust-rand.spec index 5d4a1d5..f6dc416 100644 --- a/rust-rand.spec +++ b/rust-rand.spec @@ -5,8 +5,8 @@ %global crate rand Name: rust-%{crate} -Version: 0.7.2 -Release: 2%{?dist} +Version: 0.7.3 +Release: 1%{?dist} Summary: Random number generators and other randomness functionality # Upstream license specification: MIT OR Apache-2.0 @@ -91,6 +91,18 @@ which use "getrandom_package" feature of "%{crate}" crate. %files -n %{name}+getrandom_package-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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 "libc" feature of "%{crate}" crate. + +%files -n %{name}+libc-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + %package -n %{name}+log-devel Summary: %{summary} BuildArch: noarch @@ -230,6 +242,9 @@ which use "wasm-bindgen" feature of "%{crate}" crate. %endif %changelog +* Wed Jan 15 2020 Josh Stone - 0.7.3-1 +- Update to 0.7.3 + * Fri Dec 20 19:28:37 CET 2019 Igor Gnatenko - 0.7.2-2 - Regenerate diff --git a/sources b/sources index ef88a92..ee1b8d8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (rand-0.7.2.crate) = d29d10e9788f0f44b56b2981aca01a115eca1018e6afe2428fca088cc9432f27d014c6f1f0c819317052f4c64a9c54cee8834eb08e081f292ad65160dcdd014c +SHA512 (rand-0.7.3.crate) = f9b68ef9446f1ca2c8092c50990f15c1b4cb5529eeeac4df8d69755e0b7253c663c587775e7cb0a7298c31edb444975dda34926759306541f6d43d0d3cf57b7e