# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate insta Name: rust-insta1.6 Version: 1.6.3 Release: %autorelease Summary: Snapshot testing library for Rust License: Apache-2.0 URL: https://crates.io/crates/insta Source: %{crates_source} BuildRequires: rust-packaging >= 21 %global _description %{expand: A snapshot testing library for Rust.} %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 %doc %{crate_instdir}/CHANGELOG.md %doc %{crate_instdir}/CONTRIBUTING.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}+backtrace-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+backtrace-devel %{_description} This package contains library source intended for building other packages which use the "backtrace" feature of the "%{crate}" crate. %files -n %{name}+backtrace-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+colors-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+colors-devel %{_description} This package contains library source intended for building other packages which use the "colors" feature of the "%{crate}" crate. %files -n %{name}+colors-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+console-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+console-devel %{_description} This package contains library source intended for building other packages which use the "console" feature of the "%{crate}" crate. %files -n %{name}+console-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+csv-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+csv-devel %{_description} This package contains library source intended for building other packages which use the "csv" feature of the "%{crate}" crate. %files -n %{name}+csv-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+glob-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+glob-devel %{_description} This package contains library source intended for building other packages which use the "glob" feature of the "%{crate}" crate. %files -n %{name}+glob-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+globset-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+globset-devel %{_description} This package contains library source intended for building other packages which use the "globset" feature of the "%{crate}" crate. %files -n %{name}+globset-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+pest-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+pest-devel %{_description} This package contains library source intended for building other packages which use the "pest" feature of the "%{crate}" crate. %files -n %{name}+pest-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+pest_derive-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+pest_derive-devel %{_description} This package contains library source intended for building other packages which use the "pest_derive" feature of the "%{crate}" crate. %files -n %{name}+pest_derive-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+redactions-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+redactions-devel %{_description} This package contains library source intended for building other packages which use the "redactions" feature of the "%{crate}" crate. %files -n %{name}+redactions-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ron-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ron-devel %{_description} This package contains library source intended for building other packages which use the "ron" feature of the "%{crate}" crate. %files -n %{name}+ron-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+serialization-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+serialization-devel %{_description} This package contains library source intended for building other packages which use the "serialization" feature of the "%{crate}" crate. %files -n %{name}+serialization-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}+walkdir-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+walkdir-devel %{_description} This package contains library source intended for building other packages which use the "walkdir" feature of the "%{crate}" crate. %files -n %{name}+walkdir-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 -- -- --skip runtime::test_format_rust_expression %endif %changelog %autochangelog