# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate askama_derive Name: rust-%{crate} Version: 0.11.2 Release: %autorelease Summary: Procedural macro package for Askama # Upstream license specification: MIT/Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/askama_derive Source: %{crates_source} ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging >= 21 %global _description %{expand: Procedural macro package for Askama.} %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}/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}+actix-web-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+actix-web-devel %{_description} This package contains library source intended for building other packages which use the "actix-web" feature of the "%{crate}" crate. %files -n %{name}+actix-web-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+axum-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+axum-devel %{_description} This package contains library source intended for building other packages which use the "axum" feature of the "%{crate}" crate. %files -n %{name}+axum-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+config-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+config-devel %{_description} This package contains library source intended for building other packages which use the "config" feature of the "%{crate}" crate. %files -n %{name}+config-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+gotham-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+gotham-devel %{_description} This package contains library source intended for building other packages which use the "gotham" feature of the "%{crate}" crate. %files -n %{name}+gotham-devel %ghost %{crate_instdir}/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 the "json" feature of the "%{crate}" crate. %files -n %{name}+json-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+mendes-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+mendes-devel %{_description} This package contains library source intended for building other packages which use the "mendes" feature of the "%{crate}" crate. %files -n %{name}+mendes-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+rocket-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+rocket-devel %{_description} This package contains library source intended for building other packages which use the "rocket" feature of the "%{crate}" crate. %files -n %{name}+rocket-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+tide-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+tide-devel %{_description} This package contains library source intended for building other packages which use the "tide" feature of the "%{crate}" crate. %files -n %{name}+tide-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+warp-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+warp-devel %{_description} This package contains library source intended for building other packages which use the "warp" feature of the "%{crate}" crate. %files -n %{name}+warp-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+yaml-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+yaml-devel %{_description} This package contains library source intended for building other packages which use the "yaml" feature of the "%{crate}" crate. %files -n %{name}+yaml-devel %ghost %{crate_instdir}/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