# Generated by rust2rpm 17 # * rustls-related dependencies and dev-dependencies are outdated %bcond_with check %global debug_package %{nil} %global crate attohttpc Name: rust-%{crate} Version: 0.17.0 Release: %autorelease Summary: Small and lightweight HTTP client # Upstream license specification: MPL-2.0 License: MPLv2.0 URL: https://crates.io/crates/attohttpc Source: %{crates_source} # Initial patched metadata # * Bump wildmatch to 2 https://github.com/sbstp/attohttpc/pull/107 Patch0: attohttpc-fix-metadata.diff ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} BuildArch: noarch %endif BuildRequires: rust-packaging %global _description %{expand: Small and lightweight HTTP client.} %description %{_description} %package devel Summary: %{summary} BuildArch: noarch %description devel %{_description} This package contains library source intended for building other packages which use "%{crate}" crate. %files devel %license LICENSE %doc README.md %{cargo_registry}/%{crate}-%{version_no_tilde}/ %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 "default" feature of "%{crate}" crate. %files -n %{name}+default-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+charsets-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+charsets-devel %{_description} This package contains library source intended for building other packages which use "charsets" feature of "%{crate}" crate. %files -n %{name}+charsets-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+compress-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+compress-devel %{_description} This package contains library source intended for building other packages which use "compress" feature of "%{crate}" crate. %files -n %{name}+compress-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+encoding_rs-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+encoding_rs-devel %{_description} This package contains library source intended for building other packages which use "encoding_rs" feature of "%{crate}" crate. %files -n %{name}+encoding_rs-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+encoding_rs_io-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+encoding_rs_io-devel %{_description} This package contains library source intended for building other packages which use "encoding_rs_io" feature of "%{crate}" crate. %files -n %{name}+encoding_rs_io-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+flate2-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+flate2-devel %{_description} This package contains library source intended for building other packages which use "flate2" feature of "%{crate}" crate. %files -n %{name}+flate2-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+form-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+form-devel %{_description} This package contains library source intended for building other packages which use "form" feature of "%{crate}" crate. %files -n %{name}+form-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+json-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+json-devel %{_description} This package contains library source intended for building other packages 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-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+mime-devel %{_description} This package contains library source intended for building other packages which use "mime" feature of "%{crate}" crate. %files -n %{name}+mime-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}+multipart-form-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+multipart-form-devel %{_description} This package contains library source intended for building other packages which use "multipart-form" feature of "%{crate}" crate. %files -n %{name}+multipart-form-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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 "native-tls" feature of "%{crate}" crate. %files -n %{name}+native-tls-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+openssl-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+openssl-devel %{_description} This package contains library source intended for building other packages which use "openssl" feature of "%{crate}" crate. %files -n %{name}+openssl-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+serde-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+serde-devel %{_description} This package contains library source intended for building other packages which use "serde" feature of "%{crate}" crate. %files -n %{name}+serde-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+serde_json-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+serde_json-devel %{_description} This package contains library source intended for building other packages which use "serde_json" feature of "%{crate}" crate. %files -n %{name}+serde_json-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+serde_urlencoded-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+serde_urlencoded-devel %{_description} This package contains library source intended for building other packages which use "serde_urlencoded" feature of "%{crate}" crate. %files -n %{name}+serde_urlencoded-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+tls-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+tls-devel %{_description} This package contains library source intended for building other packages which use "tls" feature of "%{crate}" crate. %files -n %{name}+tls-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog %autochangelog