|
|
@ -1,13 +1,12 @@
|
|
|
|
# Generated by rust2rpm
|
|
|
|
# Generated by rust2rpm 10
|
|
|
|
# * Tests are run in infrastructure
|
|
|
|
%bcond_without check
|
|
|
|
%bcond_with check
|
|
|
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
%global crate reqwest
|
|
|
|
%global crate reqwest
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Version: 0.9.13
|
|
|
|
Version: 0.9.13
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Summary: Higher level HTTP client library
|
|
|
|
Summary: Higher level HTTP client library
|
|
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT/Apache-2.0
|
|
|
|
# Upstream license specification: MIT/Apache-2.0
|
|
|
@ -16,40 +15,14 @@ URL: https://crates.io/crates/reqwest
|
|
|
|
Source: %{crates_source}
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
BuildRequires: (crate(base64/default) >= 0.10.0 with crate(base64/default) < 0.11.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(bytes/default) >= 0.4.0 with crate(bytes/default) < 0.5.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(encoding_rs/default) >= 0.8.0 with crate(encoding_rs/default) < 0.9.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(flate2/rust_backend) >= 1.0.7 with crate(flate2/rust_backend) < 2.0.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(futures/default) >= 0.1.23 with crate(futures/default) < 0.2.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(http/default) >= 0.1.15 with crate(http/default) < 0.2.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(hyper-tls/default) >= 0.3.2 with crate(hyper-tls/default) < 0.4.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(hyper/default) >= 0.12.22 with crate(hyper/default) < 0.13.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(log/default) >= 0.4.0 with crate(log/default) < 0.5.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(mime/default) >= 0.3.7 with crate(mime/default) < 0.4.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(mime_guess/default) >= 2.0.0~alpha.6 with crate(mime_guess/default) < 3.0.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(native-tls/default) >= 0.2.0 with crate(native-tls/default) < 0.3.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(serde/default) >= 1.0.0 with crate(serde/default) < 2.0.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(serde_json/default) >= 1.0.0 with crate(serde_json/default) < 2.0.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(serde_urlencoded/default) >= 0.5.0 with crate(serde_urlencoded/default) < 0.6.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(tokio-executor/default) >= 0.1.4 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-threadpool/default) >= 0.1.8 with crate(tokio-threadpool/default) < 0.2.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(tokio-timer/default) >= 0.2.6 with crate(tokio-timer/default) < 0.3.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(tokio/rt-full) >= 0.1.7 with crate(tokio/rt-full) < 0.2.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(url/default) >= 1.2.0 with crate(url/default) < 2.0.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(uuid/default) >= 0.7.0 with crate(uuid/default) < 0.8.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(uuid/v4) >= 0.7.0 with crate(uuid/v4) < 0.8.0)
|
|
|
|
|
|
|
|
%if %{with check}
|
|
|
|
|
|
|
|
BuildRequires: (crate(env_logger/default) >= 0.6.0 with crate(env_logger/default) < 0.7.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(libflate/default) >= 0.1.0 with crate(libflate/default) < 0.2.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(serde_derive/default) >= 1.0.0 with crate(serde_derive/default) < 2.0.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(tokio-tcp/default) >= 0.1.0 with crate(tokio-tcp/default) < 0.2.0)
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global _description \
|
|
|
|
%global _description %{expand:
|
|
|
|
Higher level HTTP client library.
|
|
|
|
Higher level HTTP client library.}
|
|
|
|
|
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
%description %{_description}
|
|
|
|
|
|
|
|
|
|
|
@ -127,10 +100,37 @@ which use "tls" feature of "%{crate}" crate.
|
|
|
|
%files -n %{name}+tls-devel
|
|
|
|
%files -n %{name}+tls-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+trust-dns-devel
|
|
|
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+trust-dns-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
|
|
|
which use "trust-dns" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+trust-dns-devel
|
|
|
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+trust-dns-resolver-devel
|
|
|
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+trust-dns-resolver-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
|
|
|
which use "trust-dns-resolver" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+trust-dns-resolver-devel
|
|
|
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
%cargo_prep
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%cargo_build
|
|
|
|
%cargo_build
|
|
|
|
|
|
|
|
|
|
|
@ -143,6 +143,9 @@ which use "tls" feature of "%{crate}" crate.
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Fri Jun 21 18:20:27 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.9.13-2
|
|
|
|
|
|
|
|
- Regenerate
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Apr 02 2019 Josh Stone <jistone@redhat.com> - 0.9.13-1
|
|
|
|
* Tue Apr 02 2019 Josh Stone <jistone@redhat.com> - 0.9.13-1
|
|
|
|
- Update to 0.9.13
|
|
|
|
- Update to 0.9.13
|
|
|
|
|
|
|
|
|
|
|
|