|
|
|
@ -5,7 +5,7 @@
|
|
|
|
|
%global crate reqwest
|
|
|
|
|
|
|
|
|
|
Name: rust-reqwest
|
|
|
|
|
Version: 0.12.4
|
|
|
|
|
Version: 0.12.5
|
|
|
|
|
Release: %autorelease
|
|
|
|
|
Summary: Higher level HTTP client library
|
|
|
|
|
|
|
|
|
@ -16,8 +16,8 @@ Source: %{crates_source}
|
|
|
|
|
Patch: reqwest-fix-metadata-auto.diff
|
|
|
|
|
# Manually created patch for downstream crate metadata changes
|
|
|
|
|
# * drop macOS-specific features
|
|
|
|
|
# * drop unused sync_wrapper dependency; see
|
|
|
|
|
# https://github.com/seanmonstar/reqwest/pull/2229
|
|
|
|
|
# * drop unused support for brotli
|
|
|
|
|
# * drop unused support for HTTP/3
|
|
|
|
|
Patch: reqwest-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
|
@ -79,40 +79,40 @@ use the "__rustls" feature of the "%{crate}" crate.
|
|
|
|
|
%files -n %{name}+__rustls-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+__tls-devel
|
|
|
|
|
%package -n %{name}+__rustls-ring-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+__tls-devel %{_description}
|
|
|
|
|
%description -n %{name}+__rustls-ring-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "__tls" feature of the "%{crate}" crate.
|
|
|
|
|
use the "__rustls-ring" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+__tls-devel
|
|
|
|
|
%files -n %{name}+__rustls-ring-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+blocking-devel
|
|
|
|
|
%package -n %{name}+__tls-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+blocking-devel %{_description}
|
|
|
|
|
%description -n %{name}+__tls-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "blocking" feature of the "%{crate}" crate.
|
|
|
|
|
use the "__tls" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+blocking-devel
|
|
|
|
|
%files -n %{name}+__tls-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+brotli-devel
|
|
|
|
|
%package -n %{name}+blocking-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+brotli-devel %{_description}
|
|
|
|
|
%description -n %{name}+blocking-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "brotli" feature of the "%{crate}" crate.
|
|
|
|
|
use the "blocking" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+brotli-devel
|
|
|
|
|
%files -n %{name}+blocking-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+charset-devel
|
|
|
|
@ -163,18 +163,6 @@ use the "deflate" feature of the "%{crate}" crate.
|
|
|
|
|
%files -n %{name}+deflate-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+futures-channel-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+futures-channel-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "futures-channel" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+futures-channel-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+gzip-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
@ -271,18 +259,6 @@ use the "native-tls-alpn" feature of the "%{crate}" crate.
|
|
|
|
|
%files -n %{name}+native-tls-alpn-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+rustls-pki-types-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+rustls-pki-types-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "rustls-pki-types" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+rustls-pki-types-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+rustls-tls-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
@ -307,6 +283,18 @@ use the "rustls-tls-manual-roots" feature of the "%{crate}" crate.
|
|
|
|
|
%files -n %{name}+rustls-tls-manual-roots-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+rustls-tls-manual-roots-no-provider-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+rustls-tls-manual-roots-no-provider-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "rustls-tls-manual-roots-no-provider" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+rustls-tls-manual-roots-no-provider-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+rustls-tls-native-roots-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
@ -319,6 +307,18 @@ use the "rustls-tls-native-roots" feature of the "%{crate}" crate.
|
|
|
|
|
%files -n %{name}+rustls-tls-native-roots-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+rustls-tls-no-provider-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+rustls-tls-no-provider-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "rustls-tls-no-provider" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+rustls-tls-no-provider-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+rustls-tls-webpki-roots-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
@ -331,6 +331,18 @@ use the "rustls-tls-webpki-roots" feature of the "%{crate}" crate.
|
|
|
|
|
%files -n %{name}+rustls-tls-webpki-roots-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+slab-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+slab-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "slab" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+slab-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+socks-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
@ -382,6 +394,8 @@ use the "zstd" feature of the "%{crate}" crate.
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
|
|
%cargo_prep
|
|
|
|
|
# drop tests that depend on the dropped brotli support
|
|
|
|
|
rm tests/brotli.rs
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|
|