Downgrade "mio" and "os_pipe", to fix installation issues

epel9
Olivier Lemasle 3 years ago
parent f97e2b49ce
commit 209c102846

@ -1,6 +1,21 @@
--- io-lifetimes-0.3.1/Cargo.toml 1970-01-01T00:00:01+00:00 --- io-lifetimes-0.4.3/Cargo.toml 1970-01-01T00:00:01+00:00
+++ io-lifetimes-0.3.1/Cargo.toml 2021-09-22T21:47:35.524578+00:00 +++ io-lifetimes-0.4.3/Cargo.toml 2021-11-28T23:11:43.975590+00:00
@@ -55,8 +55,5 @@ @@ -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] [target."cfg(not(windows))".dependencies.libc]
version = "0.2.96" version = "0.2.96"
optional = true optional = true

@ -6,7 +6,7 @@
Name: rust-%{crate} Name: rust-%{crate}
Version: 0.4.3 Version: 0.4.3
Release: 1%{?dist} Release: 2%{?dist}
Summary: Low-level I/O ownership and borrowing library Summary: Low-level I/O ownership and borrowing library
# Upstream license specification: Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT # 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} Source: %{crates_source}
# Initial patched metadata # Initial patched metadata
# - Remove windows-only dependency # - Remove windows-only dependency
# - Downgrade dependencies "mio" and "os_pipe"
Patch0: io-lifetimes-fix-metadata.diff Patch0: io-lifetimes-fix-metadata.diff
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
@ -160,6 +161,9 @@ which use "tokio" feature of "%{crate}" crate.
%endif %endif
%changelog %changelog
* Mon Nov 29 2021 Olivier Lemasle <o.lemasle@gmail.com> - 0.4.3-2
- Downgrade "mio" and "os_pipe", to fix installation issues
* Sun Nov 28 2021 Olivier Lemasle <o.lemasle@gmail.com> - 0.4.3-1 * Sun Nov 28 2021 Olivier Lemasle <o.lemasle@gmail.com> - 0.4.3-1
- Update to upstream 0.4.3 (fixes rhbz#2019950) - Update to upstream 0.4.3 (fixes rhbz#2019950)

Loading…
Cancel
Save