# Generated by rust2rpm 26 %bcond_with check %global debug_package %{nil} %global crate rspotify-http Name: rust-rspotify-http Version: 0.13.3 Release: %autorelease Summary: HTTP compatibility layer for RSpotify License: MIT URL: https://crates.io/crates/rspotify-http Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: HTTP compatibility layer for RSpotify.} %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 # FIXME: no license files detected %doc %{crate_instdir}/README.md %{crate_instdir}/ %package -n %{name}+__async-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+__async-devel %{_description} This package contains library source intended for building other packages which use the "__async" feature of the "%{crate}" crate. %files -n %{name}+__async-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+__sync-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+__sync-devel %{_description} This package contains library source intended for building other packages which use the "__sync" feature of the "%{crate}" crate. %files -n %{name}+__sync-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+async-trait-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+async-trait-devel %{_description} This package contains library source intended for building other packages which use the "async-trait" feature of the "%{crate}" crate. %files -n %{name}+async-trait-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+client-ureq-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+client-ureq-devel %{_description} This package contains library source intended for building other packages which use the "client-ureq" feature of the "%{crate}" crate. %files -n %{name}+client-ureq-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ureq-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ureq-devel %{_description} This package contains library source intended for building other packages which use the "ureq" feature of the "%{crate}" crate. %files -n %{name}+ureq-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ureq-native-tls-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ureq-native-tls-devel %{_description} This package contains library source intended for building other packages which use the "ureq-native-tls" feature of the "%{crate}" crate. %files -n %{name}+ureq-native-tls-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ureq-rustls-tls-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ureq-rustls-tls-devel %{_description} This package contains library source intended for building other packages which use the "ureq-rustls-tls" feature of the "%{crate}" crate. %files -n %{name}+ureq-rustls-tls-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ureq-rustls-tls-native-certs-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ureq-rustls-tls-native-certs-devel %{_description} This package contains library source intended for building other packages which use the "ureq-rustls-tls-native-certs" feature of the "%{crate}" crate. %files -n %{name}+ureq-rustls-tls-native-certs-devel %ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires -n -f client-ureq,ureq-native-tls,ureq-rustls-tls-native-certs,ureq-rustls-tls %build %cargo_build -n -f client-ureq,ureq-native-tls,ureq-rustls-tls-native-certs,ureq-rustls-tls %install %cargo_install -n -f client-ureq,ureq-native-tls,ureq-rustls-tls-native-certs,ureq-rustls-tls %if %{with check} %check %cargo_test %endif %changelog %autochangelog