# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate config Name: rust-config0.10 Version: 0.10.1 Release: %autorelease Summary: Layered configuration system for Rust applications # Upstream license specification: MIT/Apache-2.0 License: MIT OR Apache-2.0 URL: https://crates.io/crates/config Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Layered configuration system for Rust applications.} %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}+hjson-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+hjson-devel %{_description} This package contains library source intended for building other packages which use the "hjson" feature of the "%{crate}" crate. %files -n %{name}+hjson-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ini-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ini-devel %{_description} This package contains library source intended for building other packages which use the "ini" feature of the "%{crate}" crate. %files -n %{name}+ini-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}+rust-ini-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+rust-ini-devel %{_description} This package contains library source intended for building other packages which use the "rust-ini" feature of the "%{crate}" crate. %files -n %{name}+rust-ini-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+serde-hjson-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+serde-hjson-devel %{_description} This package contains library source intended for building other packages which use the "serde-hjson" feature of the "%{crate}" crate. %files -n %{name}+serde-hjson-devel %ghost %{crate_instdir}/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 the "serde_json" feature of the "%{crate}" crate. %files -n %{name}+serde_json-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+toml-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+toml-devel %{_description} This package contains library source intended for building other packages which use the "toml" feature of the "%{crate}" crate. %files -n %{name}+toml-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 %package -n %{name}+yaml-rust-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+yaml-rust-devel %{_description} This package contains library source intended for building other packages which use the "yaml-rust" feature of the "%{crate}" crate. %files -n %{name}+yaml-rust-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 test_error_parse %endif %changelog %autochangelog