diff --git a/mio-0.6.14-fix-metadata.diff b/mio-0.6.14-fix-metadata.diff index 11a8860..b6b9a6c 100644 --- a/mio-0.6.14-fix-metadata.diff +++ b/mio-0.6.14-fix-metadata.diff @@ -1,12 +1,21 @@ ---- mio-0.6.14/Cargo.toml 1969-12-31T16:00:00-08:00 -+++ mio-0.6.14/Cargo.toml 2018-03-08T21:17:29.785886-08:00 -@@ -54,18 +54,6 @@ +--- mio-0.6.14/Cargo.toml 1970-01-01T01:00:00+01:00 ++++ mio-0.6.14/Cargo.toml 2018-06-15T14:11:29.841047+02:00 +@@ -31,7 +31,7 @@ + version = "0.1.1" + + [dependencies.lazycell] +-version = "0.6.0" ++version = "1" + + [dependencies.log] + version = "0.4" +@@ -54,18 +54,5 @@ [features] default = ["with-deprecated"] with-deprecated = [] -[target."cfg(target_os = \"fuchsia\")".dependencies.fuchsia-zircon] -version = "0.3.2" - +- -[target."cfg(target_os = \"fuchsia\")".dependencies.fuchsia-zircon-sys] -version = "0.3.2" [target."cfg(unix)".dependencies.libc] diff --git a/rust-mio.spec b/rust-mio.spec index 6f8a8fd..c585130 100644 --- a/rust-mio.spec +++ b/rust-mio.spec @@ -7,7 +7,7 @@ Name: rust-%{crate} Version: 0.6.14 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Lightweight non-blocking IO License: MIT @@ -15,6 +15,7 @@ URL: https://crates.io/crates/mio Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate # Initial patched metadata # * No windows or fuchsia +# * Bump lazycell to 1, https://github.com/carllerche/mio/pull/847 Patch0: mio-0.6.14-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -22,7 +23,7 @@ ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging # [dependencies] BuildRequires: (crate(iovec) >= 0.1.1 with crate(iovec) < 0.2.0) -BuildRequires: (crate(lazycell) >= 0.6.0 with crate(lazycell) < 0.7.0) +BuildRequires: (crate(lazycell) >= 1.0.0 with crate(lazycell) < 2.0.0) BuildRequires: (crate(libc) >= 0.2.19 with crate(libc) < 0.3.0) BuildRequires: (crate(log) >= 0.4.0 with crate(log) < 0.5.0) BuildRequires: (crate(net2) >= 0.2.29 with crate(net2) < 0.3.0) @@ -69,6 +70,9 @@ which use %{crate} from crates.io. %exclude %{cargo_registry}/%{crate}-%{version}/{appveyor.yml,ci} %changelog +* Fri Jun 15 2018 Igor Gnatenko - 0.6.14-2 +- Bump lazycell to 1 + * Fri Mar 09 2018 Josh Stone - 0.6.14-1 - Update to 0.6.14