diff --git a/.gitignore b/.gitignore index 2639215..e917cb3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /rand-0.3.17.crate /rand-0.3.18.crate /rand-0.4.1.crate +/rand-0.4.2.crate diff --git a/rand-0.4.1-fix-metadata.diff b/rand-0.4.1-fix-metadata.diff deleted file mode 100644 index 8b24d7f..0000000 --- a/rand-0.4.1-fix-metadata.diff +++ /dev/null @@ -1,8 +0,0 @@ ---- rand-0.4.1/Cargo.toml 1970-01-01T01:00:00+01:00 -+++ rand-0.4.1/Cargo.toml 2017-12-31T14:31:47.415154+01:00 -@@ -34,5 +34,3 @@ - i128_support = [] - nightly = ["i128_support"] - std = ["libc"] --[target."cfg(target_os = \"fuchsia\")".dependencies.fuchsia-zircon] --version = "0.3" diff --git a/rand-0.4.2-fix-metadata.diff b/rand-0.4.2-fix-metadata.diff new file mode 100644 index 0000000..1c2d138 --- /dev/null +++ b/rand-0.4.2-fix-metadata.diff @@ -0,0 +1,14 @@ +--- rand-0.4.2/Cargo.toml 1970-01-01T01:00:00+01:00 ++++ rand-0.4.2/Cargo.toml 2018-01-06T13:44:52.496038+01:00 +@@ -29,11 +29,6 @@ + i128_support = [] + nightly = ["i128_support"] + std = ["libc"] +-[target."cfg(target_os = \"fuchsia\")".dependencies.fuchsia-zircon] +-version = "0.3.2" + [target."cfg(unix)".dependencies.libc] + version = "0.2" + optional = true +-[target."cfg(windows)".dependencies.winapi] +-version = "0.3" +-features = ["minwindef", "ntsecapi", "profileapi", "winnt"] diff --git a/rust-rand.spec b/rust-rand.spec index ca3e8c1..b4b4d38 100644 --- a/rust-rand.spec +++ b/rust-rand.spec @@ -5,26 +5,21 @@ %global crate rand Name: rust-%{crate} -Version: 0.4.1 +Version: 0.4.2 Release: 1%{?dist} -Summary: Random number generators and other randomness functionality +Summary: Random number generators and other randomness functionality. -License: MIT or ASL 2.0 +License: MIT/Apache-2.0 URL: https://crates.io/crates/rand Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate # Initial patched metadata -# * This OS doesn't sound related to Fedora -Patch0: rand-0.4.1-fix-metadata.diff +Patch0: rand-0.4.2-fix-metadata.diff ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging # [dependencies] BuildRequires: (crate(libc) >= 0.2.0 with crate(libc) < 0.3.0) -%if %{with check} -# [dev-dependencies] -BuildRequires: (crate(log) >= 0.3.0 with crate(log) < 0.4.0) -%endif %description %{summary}. @@ -61,6 +56,9 @@ which use %{crate} from crates.io. %exclude %{cargo_registry}/%{crate}-%{version}/appveyor.yml %changelog +* Sat Jan 06 2018 Igor Gnatenko - 0.4.2-1 +- Update to 0.4.2 + * Sun Dec 31 2017 Igor Gnatenko - 0.4.1-1 - Update to 0.4.1 diff --git a/sources b/sources index f9e781c..7e491ca 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (rand-0.4.1.crate) = 806d728d7b2de48d7cb9d3083861c23c37ab05967579d3853ed8f8ea27aa02167923c5e8c315680f0451dd7e228d75d96f3f4472ead9da6ccc3f8407843577f5 +SHA512 (rand-0.4.2.crate) = ac6eaf9f0914fd966c835a04ec644c5a8d62a4a634187d538cecfb711955a977234dc5fe487cd4d351514bc0de4f51cbd0f09a8f6aac56aa0467ae5eb17a4fad