From 209c102846d452c3c314a5b575d6efd20fb7d885 Mon Sep 17 00:00:00 2001 From: Olivier Lemasle Date: Mon, 29 Nov 2021 00:21:22 +0100 Subject: [PATCH] Downgrade "mio" and "os_pipe", to fix installation issues --- io-lifetimes-fix-metadata.diff | 21 ++++++++++++++++++--- rust-io-lifetimes.spec | 6 +++++- 2 files changed, 23 insertions(+), 4 deletions(-) diff --git a/io-lifetimes-fix-metadata.diff b/io-lifetimes-fix-metadata.diff index 6587b68..21e6586 100644 --- a/io-lifetimes-fix-metadata.diff +++ b/io-lifetimes-fix-metadata.diff @@ -1,6 +1,21 @@ ---- io-lifetimes-0.3.1/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ io-lifetimes-0.3.1/Cargo.toml 2021-09-22T21:47:35.524578+00:00 -@@ -55,8 +55,5 @@ +--- io-lifetimes-0.4.3/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ io-lifetimes-0.4.3/Cargo.toml 2021-11-28T23:11:43.975590+00:00 +@@ -30,12 +30,12 @@ + optional = true + + [dependencies.mio] +-version = "0.8.0" ++version = "0.7.14" + features = ["net", "os-ext"] + optional = true + + [dependencies.os_pipe] +-version = "1.0.0" ++version = "0.9.2" + optional = true + + [dependencies.socket2] +@@ -53,8 +53,5 @@ [target."cfg(not(windows))".dependencies.libc] version = "0.2.96" optional = true diff --git a/rust-io-lifetimes.spec b/rust-io-lifetimes.spec index ef16af5..a85c4e6 100644 --- a/rust-io-lifetimes.spec +++ b/rust-io-lifetimes.spec @@ -6,7 +6,7 @@ Name: rust-%{crate} Version: 0.4.3 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Low-level I/O ownership and borrowing library # Upstream license specification: Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT @@ -15,6 +15,7 @@ URL: https://crates.io/crates/io-lifetimes Source: %{crates_source} # Initial patched metadata # - Remove windows-only dependency +# - Downgrade dependencies "mio" and "os_pipe" Patch0: io-lifetimes-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -160,6 +161,9 @@ which use "tokio" feature of "%{crate}" crate. %endif %changelog +* Mon Nov 29 2021 Olivier Lemasle - 0.4.3-2 +- Downgrade "mio" and "os_pipe", to fix installation issues + * Sun Nov 28 2021 Olivier Lemasle - 0.4.3-1 - Update to upstream 0.4.3 (fixes rhbz#2019950)