# Generated by rust2rpm 25 # * missing dev-dependency: rstest_test ^0.11 %bcond_with check %global debug_package %{nil} %global crate rstest_reuse Name: rust-rstest_reuse Version: 0.6.0 Release: %autorelease Summary: Reusable test attributes for rstest # Upstream license specification: MIT/Apache-2.0 License: MIT OR Apache-2.0 URL: https://crates.io/crates/rstest_reuse Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Reuse rstest attributes: create a set of tests and apply it to every scenario you want to test.} %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}/LICENCE-MIT %license %{crate_instdir}/LICENSE-APACHE %doc %{crate_instdir}/README.md %doc %{crate_instdir}/checkoutlist.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 %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