|
|
|
@ -1,4 +1,5 @@
|
|
|
|
|
# Generated by rust2rpm 9
|
|
|
|
|
# Generated by rust2rpm 10
|
|
|
|
|
# * futures-timer was removed, needs to be added back
|
|
|
|
|
%bcond_with check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
@ -6,7 +7,7 @@
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 0.12.30
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: Fast and correct HTTP library
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT
|
|
|
|
@ -23,42 +24,6 @@ BuildArch: noarch
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
%if ! %{__cargo_skip_build}
|
|
|
|
|
BuildRequires: (crate(bytes/default) >= 0.4.4 with crate(bytes/default) < 0.5.0)
|
|
|
|
|
BuildRequires: (crate(futures-cpupool/default) >= 0.1.6 with crate(futures-cpupool/default) < 0.2.0)
|
|
|
|
|
BuildRequires: (crate(futures/default) >= 0.1.21 with crate(futures/default) < 0.2.0)
|
|
|
|
|
BuildRequires: (crate(h2/default) >= 0.1.10 with crate(h2/default) < 0.2.0)
|
|
|
|
|
BuildRequires: (crate(http-body/default) >= 0.1.0 with crate(http-body/default) < 0.2.0)
|
|
|
|
|
BuildRequires: (crate(http/default) >= 0.1.15 with crate(http/default) < 0.2.0)
|
|
|
|
|
BuildRequires: (crate(httparse/default) >= 1.0.0 with crate(httparse/default) < 2.0.0)
|
|
|
|
|
BuildRequires: (crate(iovec/default) >= 0.1.0 with crate(iovec/default) < 0.2.0)
|
|
|
|
|
BuildRequires: (crate(itoa/default) >= 0.4.1 with crate(itoa/default) < 0.5.0)
|
|
|
|
|
BuildRequires: (crate(log/default) >= 0.4.0 with crate(log/default) < 0.5.0)
|
|
|
|
|
BuildRequires: (crate(net2/default) >= 0.2.32 with crate(net2/default) < 0.3.0)
|
|
|
|
|
BuildRequires: (crate(rustc_version/default) >= 0.2.0 with crate(rustc_version/default) < 0.3.0)
|
|
|
|
|
BuildRequires: (crate(time/default) >= 0.1.0 with crate(time/default) < 0.2.0)
|
|
|
|
|
BuildRequires: (crate(tokio-buf/default) >= 0.1.0 with crate(tokio-buf/default) < 0.2.0)
|
|
|
|
|
BuildRequires: (crate(tokio-executor/default) >= 0.1.0 with crate(tokio-executor/default) < 0.2.0)
|
|
|
|
|
BuildRequires: (crate(tokio-io/default) >= 0.1.0 with crate(tokio-io/default) < 0.2.0)
|
|
|
|
|
BuildRequires: (crate(tokio-reactor/default) >= 0.1.0 with crate(tokio-reactor/default) < 0.2.0)
|
|
|
|
|
BuildRequires: (crate(tokio-tcp/default) >= 0.1.0 with crate(tokio-tcp/default) < 0.2.0)
|
|
|
|
|
BuildRequires: (crate(tokio-threadpool/default) >= 0.1.3 with crate(tokio-threadpool/default) < 0.2.0)
|
|
|
|
|
BuildRequires: (crate(tokio-timer/default) >= 0.2.0 with crate(tokio-timer/default) < 0.3.0)
|
|
|
|
|
BuildRequires: (crate(tokio/rt-full) >= 0.1.14 with crate(tokio/rt-full) < 0.2.0)
|
|
|
|
|
BuildRequires: (crate(want/default) >= 0.0.6 with crate(want/default) < 0.0.7)
|
|
|
|
|
%if %{with check}
|
|
|
|
|
BuildRequires: (crate(futures-timer/default) >= 0.1.0 with crate(futures-timer/default) < 0.2.0)
|
|
|
|
|
BuildRequires: (crate(num_cpus/default) >= 1.0.0 with crate(num_cpus/default) < 2.0.0)
|
|
|
|
|
BuildRequires: (crate(pretty_env_logger/default) >= 0.2.0 with crate(pretty_env_logger/default) < 0.3.0)
|
|
|
|
|
BuildRequires: (crate(serde/default) >= 1.0.0 with crate(serde/default) < 2.0.0)
|
|
|
|
|
BuildRequires: (crate(serde_derive/default) >= 1.0.0 with crate(serde_derive/default) < 2.0.0)
|
|
|
|
|
BuildRequires: (crate(serde_json/default) >= 1.0.0 with crate(serde_json/default) < 2.0.0)
|
|
|
|
|
BuildRequires: (crate(spmc/default) >= 0.2.0 with crate(spmc/default) < 0.3.0)
|
|
|
|
|
BuildRequires: (crate(tokio-fs/default) >= 0.1.0 with crate(tokio-fs/default) < 0.2.0)
|
|
|
|
|
BuildRequires: (crate(tokio-mockstream/default) >= 1.1.0 with crate(tokio-mockstream/default) < 2.0.0)
|
|
|
|
|
BuildRequires: (crate(url/default) >= 1.0.0 with crate(url/default) < 2.0.0)
|
|
|
|
|
%endif
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
Fast and correct HTTP library.}
|
|
|
|
@ -214,6 +179,9 @@ which use "tokio-timer" feature of "%{crate}" crate.
|
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%cargo_build
|
|
|
|
|
|
|
|
|
@ -227,6 +195,9 @@ which use "tokio-timer" feature of "%{crate}" crate.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Jun 21 18:36:23 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.12.30-2
|
|
|
|
|
- Regenerate
|
|
|
|
|
|
|
|
|
|
* Fri Jun 14 2019 Josh Stone <jistone@redhat.com> - 0.12.30-1
|
|
|
|
|
- Update to 0.12.30
|
|
|
|
|
|
|
|
|
|