|
|
|
@ -1,14 +1,15 @@
|
|
|
|
|
# Generated by rust2rpm-9-1.fc30
|
|
|
|
|
%bcond_with check
|
|
|
|
|
# Generated by rust2rpm 10
|
|
|
|
|
%bcond_without check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%global crate mio
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 0.6.19
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: Lightweight non-blocking IO
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT
|
|
|
|
|
License: MIT
|
|
|
|
|
URL: https://crates.io/crates/mio
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
@ -17,21 +18,14 @@ Source: %{crates_source}
|
|
|
|
|
Patch0: mio-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
BuildRequires: (crate(iovec/default) >= 0.1.1 with crate(iovec/default) < 0.2.0)
|
|
|
|
|
BuildRequires: (crate(libc/default) >= 0.2.42 with crate(libc/default) < 0.3.0)
|
|
|
|
|
BuildRequires: (crate(log/default) >= 0.4.0 with crate(log/default) < 0.5.0)
|
|
|
|
|
BuildRequires: (crate(net2/default) >= 0.2.29 with crate(net2/default) < 0.3.0)
|
|
|
|
|
BuildRequires: (crate(slab/default) >= 0.4.0 with crate(slab/default) < 0.5.0)
|
|
|
|
|
%if %{with check}
|
|
|
|
|
BuildRequires: (crate(bytes/default) >= 0.3.0 with crate(bytes/default) < 0.4.0)
|
|
|
|
|
BuildRequires: (crate(env_logger) >= 0.4.0 with crate(env_logger) < 0.5.0)
|
|
|
|
|
BuildRequires: (crate(tempdir/default) >= 0.3.4 with crate(tempdir/default) < 0.4.0)
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%global _description \
|
|
|
|
|
Lightweight non-blocking IO.
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
Lightweight non-blocking IO.}
|
|
|
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
|
|
|
|
|
@ -78,6 +72,9 @@ which use "with-deprecated" feature of "%{crate}" crate.
|
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%cargo_build
|
|
|
|
|
|
|
|
|
@ -90,6 +87,9 @@ which use "with-deprecated" feature of "%{crate}" crate.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Jun 21 21:27:15 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.6.19-2
|
|
|
|
|
- Regenerate
|
|
|
|
|
|
|
|
|
|
* Sat Jun 01 2019 Josh Stone <jistone@redhat.com> - 0.6.19-1
|
|
|
|
|
- Update to 0.6.19
|
|
|
|
|
|
|
|
|
|