diff --git a/rust-scroll.spec b/rust-scroll.spec index 3267b48..c0222ef 100644 --- a/rust-scroll.spec +++ b/rust-scroll.spec @@ -6,12 +6,15 @@ Name: rust-%{crate} Version: 0.9.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Powerful, extensible, generic, endian-aware Read/Write traits for byte buffers License: MIT URL: https://crates.io/crates/scroll Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate +# Initial patched metadata +# * Bump scroll to 1, https://github.com/m4b/scroll/pull/27 +Patch0: scroll-0.9.0-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -21,7 +24,7 @@ BuildRequires: (crate(scroll_derive) >= 0.9.0 with crate(scroll_derive) < 0.10. %if %{with check} # [dev-dependencies] BuildRequires: (crate(byteorder) >= 1.0.0 with crate(byteorder) < 2.0.0) -BuildRequires: (crate(rayon) >= 0.9.0 with crate(rayon) < 0.10.0) +BuildRequires: (crate(rayon) >= 1.0.0 with crate(rayon) < 2.0.0) %endif %description @@ -59,6 +62,9 @@ which use %{crate} from crates.io. %{cargo_registry}/%{crate}-%{version}/ %changelog +* Tue Feb 20 2018 Igor Gnatenko - 0.9.0-3 +- Bump rayon to 1.0.0 + * Fri Feb 09 2018 Fedora Release Engineering - 0.9.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild diff --git a/scroll-0.9.0-fix-metadata.diff b/scroll-0.9.0-fix-metadata.diff new file mode 100644 index 0000000..4f4338a --- /dev/null +++ b/scroll-0.9.0-fix-metadata.diff @@ -0,0 +1,11 @@ +--- scroll-0.9.0/Cargo.toml 1970-01-01T01:00:00+01:00 ++++ scroll-0.9.0/Cargo.toml 2018-02-20T08:07:34.610125+01:00 +@@ -27,7 +27,7 @@ + version = "1.0.0" + + [dev-dependencies.rayon] +-version = "0.9.0" ++version = "1.0.0" + + [features] + default = ["std"]