# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate value-bag Name: rust-value-bag Version: 1.7.0 Release: %autorelease Summary: Anonymous structured values License: Apache-2.0 OR MIT URL: https://crates.io/crates/value-bag Source: %{crates_source} # Automatically generated patch to strip dependencies and normalize metadata Patch: value-bag-fix-metadata-auto.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Anonymous structured values.} %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}+alloc-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+alloc-devel %{_description} This package contains library source intended for building other packages which use the "alloc" feature of the "%{crate}" crate. %files -n %{name}+alloc-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+error-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+error-devel %{_description} This package contains library source intended for building other packages which use the "error" feature of the "%{crate}" crate. %files -n %{name}+error-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+inline-i128-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+inline-i128-devel %{_description} This package contains library source intended for building other packages which use the "inline-i128" feature of the "%{crate}" crate. %files -n %{name}+inline-i128-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+owned-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+owned-devel %{_description} This package contains library source intended for building other packages which use the "owned" feature of the "%{crate}" crate. %files -n %{name}+owned-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+seq-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+seq-devel %{_description} This package contains library source intended for building other packages which use the "seq" feature of the "%{crate}" crate. %files -n %{name}+seq-devel %ghost %{crate_instdir}/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 the "serde" feature of the "%{crate}" crate. %files -n %{name}+serde-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+serde1-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+serde1-devel %{_description} This package contains library source intended for building other packages which use the "serde1" feature of the "%{crate}" crate. %files -n %{name}+serde1-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+std-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+std-devel %{_description} This package contains library source intended for building other packages which use the "std" feature of the "%{crate}" crate. %files -n %{name}+std-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+sval-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+sval-devel %{_description} This package contains library source intended for building other packages which use the "sval" feature of the "%{crate}" crate. %files -n %{name}+sval-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+sval2-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+sval2-devel %{_description} This package contains library source intended for building other packages which use the "sval2" feature of the "%{crate}" crate. %files -n %{name}+sval2-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+test-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+test-devel %{_description} This package contains library source intended for building other packages which use the "test" feature of the "%{crate}" crate. %files -n %{name}+test-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+value-bag-serde1-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+value-bag-serde1-devel %{_description} This package contains library source intended for building other packages which use the "value-bag-serde1" feature of the "%{crate}" crate. %files -n %{name}+value-bag-serde1-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+value-bag-sval2-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+value-bag-sval2-devel %{_description} This package contains library source intended for building other packages which use the "value-bag-sval2" feature of the "%{crate}" crate. %files -n %{name}+value-bag-sval2-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 %endif %changelog %autochangelog