From a29422e13b2ee7d7db27dfb12837cd9d4cbd9a53 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sun, 31 Dec 2017 14:31:32 +0100 Subject: [PATCH] Update to 0.4.1 Signed-off-by: Igor Gnatenko --- .gitignore | 1 + rand-0.3.18-fix-metadata.diff | 8 -------- rand-0.4.1-fix-metadata.diff | 8 ++++++++ rust-rand.spec | 9 ++++++--- sources | 2 +- 5 files changed, 16 insertions(+), 12 deletions(-) delete mode 100644 rand-0.3.18-fix-metadata.diff create mode 100644 rand-0.4.1-fix-metadata.diff diff --git a/.gitignore b/.gitignore index 4ad8c1b..2639215 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /rand-0.3.17.crate /rand-0.3.18.crate +/rand-0.4.1.crate diff --git a/rand-0.3.18-fix-metadata.diff b/rand-0.3.18-fix-metadata.diff deleted file mode 100644 index d55c8f0..0000000 --- a/rand-0.3.18-fix-metadata.diff +++ /dev/null @@ -1,8 +0,0 @@ ---- rand-0.3.18/Cargo.toml 1970-01-01T01:00:00+01:00 -+++ rand-0.3.18/Cargo.toml 2017-11-07T11:18:21.472457+01:00 -@@ -30,5 +30,3 @@ - [features] - nightly = ["i128_support"] - i128_support = [] --[target."cfg(target_os = \"fuchsia\")".dependencies.fuchsia-zircon] --version = "^0.2.1" diff --git a/rand-0.4.1-fix-metadata.diff b/rand-0.4.1-fix-metadata.diff new file mode 100644 index 0000000..8b24d7f --- /dev/null +++ b/rand-0.4.1-fix-metadata.diff @@ -0,0 +1,8 @@ +--- 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/rust-rand.spec b/rust-rand.spec index 7b96f7f..ca3e8c1 100644 --- a/rust-rand.spec +++ b/rust-rand.spec @@ -5,7 +5,7 @@ %global crate rand Name: rust-%{crate} -Version: 0.3.18 +Version: 0.4.1 Release: 1%{?dist} Summary: Random number generators and other randomness functionality @@ -14,7 +14,7 @@ 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.3.18-fix-metadata.diff +Patch0: rand-0.4.1-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -56,11 +56,14 @@ which use %{crate} from crates.io. %files devel %license LICENSE-MIT LICENSE-APACHE -%doc README.md +%doc README.md CHANGELOG.md %{cargo_registry}/%{crate}-%{version}/ %exclude %{cargo_registry}/%{crate}-%{version}/appveyor.yml %changelog +* Sun Dec 31 2017 Igor Gnatenko - 0.4.1-1 +- Update to 0.4.1 + * Tue Nov 07 2017 Igor Gnatenko - 0.3.18-1 - Update to 0.3.18 diff --git a/sources b/sources index 0429a16..f9e781c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (rand-0.3.18.crate) = d9f69713af3af01b8bf1b54c97f8032c0eb2fd2ee0149542ba300949f54b13eeef403b26360c9fda266f6304e6455c79aa66d96a0599994c1e047206080ab182 +SHA512 (rand-0.4.1.crate) = 806d728d7b2de48d7cb9d3083861c23c37ab05967579d3853ed8f8ea27aa02167923c5e8c315680f0451dd7e228d75d96f3f4472ead9da6ccc3f8407843577f5