# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate http-client Name: rust-http-client Version: 6.5.3 Release: %autorelease Summary: Types and traits for http clients License: MIT OR Apache-2.0 URL: https://crates.io/crates/http-client Source: %{crates_source} # Automatically generated patch to strip dependencies and normalize metadata Patch: http-client-fix-metadata-auto.diff # Removed circular dependency used only in tests Patch: http-client-fix-circular-dep.diff # Removed dependency using unpackaged feature Patch: http-client-fix-unpackaged-dep.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Types and traits for http clients.} %description %{_description} %package devel Summary: %{summary} BuildArch: noarch %description devel %{_description} This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel %license %{crate_instdir}/LICENSE-APACHE %license %{crate_instdir}/LICENSE-MIT %doc %{crate_instdir}/CHANGELOG.md %doc %{crate_instdir}/README.md %{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+default-devel %{_description} This package contains library source intended for building other packages which use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+async-h1-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+async-h1-devel %{_description} This package contains library source intended for building other packages which use the "async-h1" feature of the "%{crate}" crate. %files -n %{name}+async-h1-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+async-native-tls-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+async-native-tls-devel %{_description} This package contains library source intended for building other packages which use the "async-native-tls" feature of the "%{crate}" crate. %files -n %{name}+async-native-tls-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+async-std-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+async-std-devel %{_description} This package contains library source intended for building other packages which use the "async-std" feature of the "%{crate}" crate. %files -n %{name}+async-std-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+async-tls-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+async-tls-devel %{_description} This package contains library source intended for building other packages which use the "async-tls" feature of the "%{crate}" crate. %files -n %{name}+async-tls-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+curl_client-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+curl_client-devel %{_description} This package contains library source intended for building other packages which use the "curl_client" feature of the "%{crate}" crate. %files -n %{name}+curl_client-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+dashmap-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+dashmap-devel %{_description} This package contains library source intended for building other packages which use the "dashmap" feature of the "%{crate}" crate. %files -n %{name}+dashmap-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+deadpool-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+deadpool-devel %{_description} This package contains library source intended for building other packages which use the "deadpool" feature of the "%{crate}" crate. %files -n %{name}+deadpool-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+docs-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+docs-devel %{_description} This package contains library source intended for building other packages which use the "docs" feature of the "%{crate}" crate. %files -n %{name}+docs-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+futures-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+futures-devel %{_description} This package contains library source intended for building other packages which use the "futures" feature of the "%{crate}" crate. %files -n %{name}+futures-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+futures-util-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+futures-util-devel %{_description} This package contains library source intended for building other packages which use the "futures-util" feature of the "%{crate}" crate. %files -n %{name}+futures-util-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+h1_client-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+h1_client-devel %{_description} This package contains library source intended for building other packages which use the "h1_client" feature of the "%{crate}" crate. %files -n %{name}+h1_client-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+hyper-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+hyper-devel %{_description} This package contains library source intended for building other packages which use the "hyper" feature of the "%{crate}" crate. %files -n %{name}+hyper-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+hyper-tls-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+hyper-tls-devel %{_description} This package contains library source intended for building other packages which use the "hyper-tls" feature of the "%{crate}" crate. %files -n %{name}+hyper-tls-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+hyper_client-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+hyper_client-devel %{_description} This package contains library source intended for building other packages which use the "hyper_client" feature of the "%{crate}" crate. %files -n %{name}+hyper_client-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+isahc-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+isahc-devel %{_description} This package contains library source intended for building other packages which use the "isahc" feature of the "%{crate}" crate. %files -n %{name}+isahc-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+native-tls-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+native-tls-devel %{_description} This package contains library source intended for building other packages which use the "native-tls" feature of the "%{crate}" crate. %files -n %{name}+native-tls-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+native_client-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+native_client-devel %{_description} This package contains library source intended for building other packages which use the "native_client" feature of the "%{crate}" crate. %files -n %{name}+native_client-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+rustls-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+rustls-devel %{_description} This package contains library source intended for building other packages which use the "rustls" feature of the "%{crate}" crate. %files -n %{name}+rustls-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+rustls_crate-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+rustls_crate-devel %{_description} This package contains library source intended for building other packages which use the "rustls_crate" feature of the "%{crate}" crate. %files -n %{name}+rustls_crate-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+tokio-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+tokio-devel %{_description} This package contains library source intended for building other packages which use the "tokio" feature of the "%{crate}" crate. %files -n %{name}+tokio-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unstable-config-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+unstable-config-devel %{_description} This package contains library source intended for building other packages which use the "unstable-config" feature of the "%{crate}" crate. %files -n %{name}+unstable-config-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+wasm_client-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+wasm_client-devel %{_description} This package contains library source intended for building other packages which use the "wasm_client" feature of the "%{crate}" crate. %files -n %{name}+wasm_client-devel %ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %install %cargo_install %if %{with check} %check %cargo_test -- -- --skip h1::tests::https_functionality --skip get_github --skip get_google %endif %changelog %autochangelog