diff --git a/rust-tempdir.spec b/rust-tempdir.spec index 5edede4..22725c7 100644 --- a/rust-tempdir.spec +++ b/rust-tempdir.spec @@ -6,18 +6,21 @@ Name: rust-%{crate} Version: 0.3.5 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Library for managing a temporary directory License: MIT or ASL 2.0 URL: https://crates.io/crates/tempdir Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate +# Initial patched metadata +# * Bump rand to 0.4, https://github.com/rust-lang-nursery/tempdir/pull/40 +Patch0: tempdir-0.3.5-fix-metadata.diff ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging # [dependencies] -BuildRequires: (crate(rand) >= 0.3.0 with crate(rand) < 0.4.0) +BuildRequires: (crate(rand) >= 0.4.0 with crate(rand) < 0.5.0) %description %{summary}. @@ -54,6 +57,9 @@ which use %{crate} from crates.io. %{cargo_registry}/%{crate}-%{version}/ %changelog +* Sun Dec 31 2017 Igor Gnatenko - 0.3.5-5 +- Bump rand to 0.4 + * Sun Nov 05 2017 Igor Gnatenko - 0.3.5-4 - Regenerate spec diff --git a/tempdir-0.3.5-fix-metadata.diff b/tempdir-0.3.5-fix-metadata.diff new file mode 100644 index 0000000..17c28fd --- /dev/null +++ b/tempdir-0.3.5-fix-metadata.diff @@ -0,0 +1,8 @@ +--- tempdir-0.3.5/Cargo.toml 2016-08-01T08:25:21+02:00 ++++ tempdir-0.3.5/Cargo.toml 2017-12-31T15:02:19.759798+01:00 +@@ -14,4 +14,4 @@ + """ + + [dependencies] +-rand = "0.3" ++rand = "0.4"