# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate proptest Name: rust-proptest0.7 Version: 0.7.2 Release: %autorelease Summary: Hypothesis-like property-based testing and shrinking # Upstream license specification: MIT/Apache-2.0 License: MIT OR Apache-2.0 URL: https://crates.io/crates/proptest Source: %{crates_source} BuildRequires: rust-packaging >= 21 %global _description %{expand: Hypothesis-like property-based testing and shrinking.} %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 %doc %{crate_instdir}/readme-antelogue.md %doc %{crate_instdir}/readme-prologue.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}+fork-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+fork-devel %{_description} This package contains library source intended for building other packages which use the "fork" feature of the "%{crate}" crate. %files -n %{name}+fork-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+nightly-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+nightly-devel %{_description} This package contains library source intended for building other packages which use the "nightly" feature of the "%{crate}" crate. %files -n %{name}+nightly-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+quick-error-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+quick-error-devel %{_description} This package contains library source intended for building other packages which use the "quick-error" feature of the "%{crate}" crate. %files -n %{name}+quick-error-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+regex-syntax-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+regex-syntax-devel %{_description} This package contains library source intended for building other packages which use the "regex-syntax" feature of the "%{crate}" crate. %files -n %{name}+regex-syntax-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+rusty-fork-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+rusty-fork-devel %{_description} This package contains library source intended for building other packages which use the "rusty-fork" feature of the "%{crate}" crate. %files -n %{name}+rusty-fork-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}+tempfile-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+tempfile-devel %{_description} This package contains library source intended for building other packages which use the "tempfile" feature of the "%{crate}" crate. %files -n %{name}+tempfile-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+timeout-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+timeout-devel %{_description} This package contains library source intended for building other packages which use the "timeout" feature of the "%{crate}" crate. %files -n %{name}+timeout-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unstable-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+unstable-devel %{_description} This package contains library source intended for building other packages which use the "unstable" feature of the "%{crate}" crate. %files -n %{name}+unstable-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