|
|
|
@ -5,8 +5,8 @@
|
|
|
|
|
%global crate reqwest
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 0.10.9
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Version: 0.11.1
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Higher level HTTP client library
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT/Apache-2.0
|
|
|
|
@ -199,6 +199,30 @@ which use "json" feature of "%{crate}" crate.
|
|
|
|
|
%files -n %{name}+json-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+mime_guess-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+mime_guess-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "mime_guess" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+mime_guess-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+multipart-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+multipart-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "multipart" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+multipart-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+native-tls-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
@ -271,6 +295,18 @@ which use "time" feature of "%{crate}" crate.
|
|
|
|
|
%files -n %{name}+time-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+tokio-native-tls-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+tokio-native-tls-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "tokio-native-tls" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+tokio-native-tls-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+tokio-socks-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
@ -283,16 +319,16 @@ which use "tokio-socks" feature of "%{crate}" crate.
|
|
|
|
|
%files -n %{name}+tokio-socks-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+tokio-tls-devel
|
|
|
|
|
%package -n %{name}+tokio-util-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+tokio-tls-devel %{_description}
|
|
|
|
|
%description -n %{name}+tokio-util-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "tokio-tls" feature of "%{crate}" crate.
|
|
|
|
|
which use "tokio-util" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+tokio-tls-devel
|
|
|
|
|
%files -n %{name}+tokio-util-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+trust-dns-devel
|
|
|
|
@ -334,11 +370,20 @@ which use "trust-dns-resolver" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%if %{with check}
|
|
|
|
|
%check
|
|
|
|
|
# Skip tests requiring network and one depending on Cargo.lock being present
|
|
|
|
|
%cargo_test -- -- --skip test_badssl_modern --skip test_badssl_self_signed --skip test_badssl_wrong_host --skip file
|
|
|
|
|
# * skip tests which require internet access
|
|
|
|
|
# * skip "file" test which depends on Cargo.lock being present
|
|
|
|
|
%cargo_test -- -- \
|
|
|
|
|
--skip test_allowed_methods \
|
|
|
|
|
--skip test_badssl_modern \
|
|
|
|
|
--skip test_badssl_self_signed \
|
|
|
|
|
--skip test_badssl_wrong_host \
|
|
|
|
|
--skip file
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sat Mar 06 2021 Fabio Valentini <decathorpe@gmail.com> - 0.11.1-1
|
|
|
|
|
- Update to version 0.11.1.
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.9-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|